1 Reply Latest reply on May 19, 2006 3:30 PM by Frank Langelage

    Not able to Allocate  More then 3Gb to Jboss

    Samir Marfatia Newbie

      Hi,

      We are using Jboss 3.2.5 On Solaris 2.8 with 16Gb RAM
      While we are setting Java option as

      JAVA_OPTS: -server -Djboss.server.exitonshutdown=true -Djboss.server.blockingshutdown=true -Xss128k -Xms3072m -Xmx4000m -XX:+UseConcMarkSweepGC -XX:MaxPermSize=128m -XX:SurvivorRatio=8 -XX:MaxNewSize=128m

      Following are shows on my console
      =====================================================
      JBoss Bootstrap Environment

      JBOSS_HOME: /appl/local/jboss/jboss325/jboss-3.2.5

      JAVA: /appl/local/jboss/jboss325/j2sdk1.4.2_11/bin/java

      JAVA_OPTS: -server -Djboss.server.exitonshutdown=true -Djboss.server.blockingshutdown=true -Xss128k -Xms3072m -Xmx4000m -XX:+UseConcMarkSweepGC -XX:MaxPermSize=128m -XX:SurvivorRatio=8 -XX:MaxNewSize=128m

      CLASSPATH: /appl/local/jboss/jboss325/jboss-3.2.5/bin/run.jar:/appl/local/jboss/jboss325/j2sdk1.4.2_11/lib/tools.jar


      Illegal Instruction - core dumped

      =====================================================


      Then I changed run.conf to (-Xmx4000m to ?Xmx3072m)

      JAVA_OPTS: -server -Djboss.server.exitonshutdown=true -Djboss.server.blockingshutdown=true -Xss128k -Xms3072m -Xmx3072m -XX:+UseConcMarkSweepGC -XX:MaxPermSize=128m -XX:SurvivorRatio=8 -XX:MaxNewSize=128m


      After this change Jboss and My application works fine

      I need to allocate more RAM to My Jboss server

      SMAIR