Schlagwort-Archive: jvm

kurz pause, drop, stop;

jvm settings, for partly tuning of garbace collection and memory allocation in general

<code>

-Xms384m  // headroom for memory to be free
 -Xmx768m  // all in all memory, to be recycled
 -Xmn2m  // stacksize for heap to 2mb
 -XX:+UseG1GC  // specific gc
 -XX:MaxGCPauseMillis=75  // max timeout in ms.
 -XX:NewRatio=2  // ratio between new and recycled obj
 -XX:SurvivorRatio=4  // ratio for memory to reused
 -XX:MaxNewSize=256m  // max size for new objects
 -XX:MaxPermSize=256m  // permanent max. heap space
 -XX:+UseStringCache  // stringbuilder at its best
 -Xloggc:..\eclipse.logfile.dump.txt  // to external

</code>