Im looking at this post about Pulling Used PermGen Space Programmatically while trying to figure out how to tweak my Railo/Lucee/Tomcat environment arguments and I was wondering if the information that generates can help me?
This is my current output from the code in that post
Code Cache (Non-heap memory) 4MB / 48MB
Eden Space (Heap memory) 53MB / 67MB
Survivor Space (Heap memory) 4MB / 8MB
CMS Old Gen (Heap memory) 122MB / 1965MB
CMS Perm Gen (Non-heap memory) 40MB / 1024MB
This is from my setenv.sh
JAVA_OPTS="-server -Djava.awt.headless=true -Xms2048m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC"
This is my current output from free -m
total used free shared buffers cached
Mem: 3750 1997 1752 0 190 1351
-/+ buffers/cache: 455 3294
Swap: 0 0 0
How can I figure out, or what should I use as my starting points when figuring out my JAVA_OPTS?