![]() |
For best performance, when using Sun HotSpot VM, use the –server argument.
|
![]() |
Decide on a maximum heap size for the JVM, based on the memory availability in the server. (Interact is not a memory intensive application). Set the max and min sizes of the heap to be the same (using –Xmx and -Xms arguments), which increases the startup time, but gives better throughput.
|
-verbosegc -XX:+PrintGCDetails
-XX:+UseConcMarkSweepGC -Xmn512m -XX:SurvivorRatio=6
![]() |
Tuning Garbage Collection with the 5.0 Java™ virtual machine (http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html)
|
![]() |
Copyright IBM Corporation 2013. All Rights Reserved.
|