1 Reply Latest reply on Jul 4, 2014 1:33 AM by suryat789

    Jboss throwing Fatal error

    sumanthkethe

      Hi All,

       

      I am trying to run jboss-eap-5.1.0, but i am getting the following error, when i am trying to run it. I tried changing the values of "-Xms1303m -Xmx1303m -XX:MaxPermSize=512m"

      to different values but nothing helped..Pls suggest me a way out.

       

      My System Confuguration is:

      OS : Windows Vista Home Basic

      Ram Size:  1 GB

      ROM Size:150 GB

       

       

      C:\Softwares\jboss-eap-5.1.0\jboss-eap-5.1\jboss-as\bin>run.bat

      Calling C:\Softwares\jboss-eap-5.1.0\jboss-eap-5.1\jboss-as\bin\run.conf.bat

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

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: C:\Softwares\jboss-eap-5.1.0\jboss-eap-5.1\jboss-as

       

       

        JAVA: C:\Program Files\Java\jdk1.7.0_04\bin\java

       

       

        JAVA_OPTS: -Xms1303m -Xmx1303m -XX:MaxPermSize=512m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Dprogram.name=run.bat -server

       

       

        CLASSPATH: C:\Program Files\Java\jdk1.7.0_04\lib\tools.jar;C:\Softwares\jboss-eap-5.1.0\jboss-eap-5.1\jboss-as\bin\run.jar

       

       

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

       

       

      Error occurred during initialization of VM

      Could not reserve enough space for object heap

      Error: Could not create the Java Virtual Machine.

      Error: A fatal exception has occurred. Program will exit.

      Press any key to continue . . .

      C:\Softwares\jboss-eap-5.1.0\jboss-eap-5.1\jboss-as\bin>

        • 1. Re: Jboss throwing Fatal error
          suryat789

          I was experiencing the same problem. I did following changes in order to make it work,

          1. Go to standalone.conf.bat
          2. Look for set JAVA_OPTS initialization
          3. Change it to

          set "JAVA_OPTS=-Xms256M -Xmx512M -XX:MaxPermSize=256M"