2 Replies Latest reply on May 11, 2016 9:35 AM by kkjones

    JBOSS EAP 6.1.0

    zscw1


      OutOfMemoryError  Java heap space

      I started receiving this error about two months ago and I seem to see it about every three weeks.

      I've  seen on the web all sorts of settings and suggestions but if I edit the current standalone.conf.bat file with anything other than the original

      set "JAVA_OPTS=-Xms1303M -Xmx1303M -XX:MaxPermSize=256M"

      one of two things happen:

      1) the services start buts the mgmt. console will never load   http://kmgapps:9990/console/App.html#server-overview

      2) the service immediately dies.

      The machine itself has 6gig and is Win2008 R2 64bit.   My thought was to set -Xmx at 2048M to give it a little head room

      Any suggestions for a JBOSS noob

        • 1. Re: JBOSS EAP 6.1.0
          ctomc

          you are probably using 32bit jvm, which has a limit around 1.3-1.4GB on windows.

          Install 64bit JVM and you can set Xmx to higher values

          • 2. Re: JBOSS EAP 6.1.0
            kkjones

            I am receiving the error as well and I am running 64-bit:

             

            java version "1.7.0_51"

            Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

            Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)