1 Reply Latest reply on May 9, 2009 10:59 PM by Peter Johnson

    JBoss 4.2.3 errors

    bala Newbie

      What would be the maximum memory I can have in JBOSS 4.2.3 ?

      My current settings are:
      JAVA_OPTS="-Xms1024m -Xmx2048m -XX:PermSize=384m -XX:MaxPermSize=512m"

      If I increase the permsize and/or maxpermsize, i am getting error on startup:
      Error occurred during initialization of VM
      Could not reserve enough space for object heap
      Could not create the Java virtual machine.

      I have a 4GB RAM on the server. Any suggestions are appreciated.