4 Replies Latest reply on Dec 5, 2013 6:14 AM by Frank Langelage

    Caused by: java.lang.OutOfMemoryError: Java heap space - Jboss 7.1.1

    eramesh.java Newbie

      Hi All,

       

      We are doing migration from Jboss 4 to Jboss7.

       

      I am able to deploy the application through eclipse in my local setup.

      One job is running internally and getting 261264 records from one database and inserting the same data in another database.

       

      But in between, we are getting the 'OutOfMemoryError'.  We are running the application in Windows machine  not LINUX

       

      I have modified standalone.conf file with the below JVM settings.

       

      JAVA_OPTS="-Xms512m -Xmx24576m -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

       

      But still I am getting the same exception.

       

      Could you please advise!