Posted on 07-12-2016 06:39 AM
Hi Every One,
I am Configuring Apache tomcat Server for the first time and I am Wondering how much memory should I assigned for Initial heap and Maximum heap.
I Googled and found that initial heap size should be 1/64 of physical memory and maximum heap size should be 1/4 of the physical memory.
will it be problem if I assign 1G for initial and 1G for max heap ?
Thank you.
Posted on 07-12-2016 11:51 AM
Im guessing its dependent on the system your running but my Win2k13 R2 VM system has 8gb of ram I have allocated 2048MB for it and it seems to run great.
Posted on 07-12-2016 12:56 PM
Assuming this server is hosting the web app and the database, I'd stick with the max of 2048MB with a min of 256MB. If you were only running Tomcat (separate DB server), I'd push that up as high as 4096MB.