is it correct Heap Structure on basis of given JVM Parameters ?

Sharma, Vipin K vipin.sharma at verizon.com
Tue Apr 29 09:54:06 UTC 2014


HI All



In my Java application ( JDK 7) JVM parameters are

-Xms32m -Xmx2048m -Xss1m -XX:+UseParallelGC -XX:NewRatio=2 -XX:NewSize=8m -XX:MaxNewSize=64m -XX:SurvivorRatio=25 -XX:+UseAdaptiveSizePolicy



Xmx2048m                          :  Maximum Heap memory is 2GB

MaxNewSize=64m          :  Maximum Young Generation Size 64 MB

NewRatio=2                       :  Old Generation Size will be double of Young generation size so Maximum Old generation Size will be 64*2



As per my understanding below will be Heap structure when all parts of heap are allocated maximum memory

Young(64 M )     + Old ( 128 M)    + Rest Memory only for Permanent Generation Area



I feel we are not using heap memory efficiently more than 1.8 GB is allocated for Permanent Generation only.

Is it correct understanding ? if not then what will be heap structure in case we give max memory to all parts?


Thanks,
Vipin Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20140429/04d122d0/attachment.html>


More information about the hotspot-gc-use mailing list