This content has been marked as final.
Show 1 reply
-
1. Re: Jboss JVM option -Xmx -Xms
yohanfer Mar 26, 2004 8:41 AM (in response to sumesh_ps)Hi,
Its probably best practice to have a heap size as small as possible. This will reduce the thread lockup caused by garbage collection. You can minimise the frequency of full collections by modifying the new generation size by setting the
-XX:NewSize and -XX:MaxNewSize settings also there is -XX:SurvivorRatio which you can play around with. Use -verbose:gc switch to see the GC performance.
See
http://java.sun.com/docs/hotspot/gc1.4.2/
for a detailed description....
Yohan Fernando