[jboss-user] [Installation, Configuration & DEPLOYMENT] - JAVA_OPTS in run.conf

mduffy_lists do-not-reply at jboss.com
Tue Dec 30 16:03:20 EST 2008


Creating the optimal settings for garbage collection and JVM tuning can be over whelming:

http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html

http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

We are running JBoss on new Dell servers with 2Gb of memory and we are getting out of memory errors with just moderate usage.

Our current settings are:

JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

Any suggestions?

Thx.

Mike

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198961#4198961

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198961



More information about the jboss-user mailing list