-
1. Re: Java Heap Size Recommendation Request
carl type3 May 5, 2014 3:51 PM (in response to WiWildcat)Hi,
Perhaps set JVM minimum and maximum to 2048 / 4096. While your altering JVM apply a minimum setting for Permanent Generation and set maximum for permanent larger EG:
-XX:PermSize=284m -XX:MaxPermSize=512mYou could do well to perform some CF Java monitoring to know what values suit best and if indeed the garbage collections run by -XX:+UseParallelGC are working optimally. Java logging can be run by doing some traditional Java logging to a file then read file or pass file thru a tool. You can also use Jconsole, Jvisualvm or even the new Mission Control (in 1.7.0_40 release onwards) graphical tools.
HTH, Carl.
-
2. Re: Java Heap Size Recommendation Request
WiWildcat May 5, 2014 6:20 PM (in response to carl type3)Carl,
Thank you! I appreciate your answer very much, with reasoning and a holistic view.
I will look into Java monitoring. Have not done that yet, but always looking to upgrade my skills.
I can set JVM in CF Admin and have done so. I know there are some things you can do to activate the jvm config file but I haven't had the need to mess with that yet. Thought I changed it once, but it was reset when I restarted CF so swing and a miss.
Systems running better already though with that huge headroom in memory.
Thanks again!
RLS

