NewSize and SurvivorRatio needed with UseAdaptiveSizePolicy ?

Sharma, Vipin K vipin.sharma at verizon.com
Thu Apr 24 06:17:58 UTC 2014


Hi All

I am working on an old java application and few days back we observed application crashed due to memory issue.

Below are the parameters we are using
-Xms32m -Xmx2048m -Xss1m -XX:+UseParallelGC -XX:NewRatio=2 -XX:NewSize=8m -XX:MaxNewSize=64m -XX:SurvivorRatio=25 -XX:+UseAdaptiveSizePolicy

Looking at these parameters few questions comes in mind and Looking for expert advice

1.       When we are using UseAdaptiveSizePolicy option , what is use of NewSize , MaxNewSize , NewRatio , SurvivorRatio. Shall I remove these ?

2.       Using above options are we overriding values set by UseAdaptiveSizePolicy ?


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


More information about the hotspot-gc-use mailing list