0 Replies Latest reply on Jan 20, 2008 2:27 AM by Dave Chen

    how to set Java memory to start JBoss for best performance

    Dave Chen Master

      My machine:

      physical memory: 8G
      swap: 12G

      The machine is running mysql and jboss 4.0.5GA.

      the JBoss run.conf includes:

      JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

      How to set Java memory for the best performance? Thanks!