2 Replies Latest reply on Dec 7, 2006 3:48 PM by Nick Breau

    JBoss messaging running out of heap space

    Nick Breau Newbie

      We're currently running jboss messaging as a standalone server, with the following java_opts values:

      JAVA_OPTS="-Xms1500m -Xmx1500m -server -XX:ThreadStackSize=256k -XX:MaxPermSize=128m -XX:+DisableExplicitGC -Xloggc:/var/log/jbossgc
      -Djava.rmi.server.hostname= -Dprogram.name=$PROGNAME $JAVA_OPTS"

      This is on a 4 processor AMD with 4 gigs of RAM running Ubuntu.

      We have configured jboss messaging to run off a postgresql DB.

      Our application currently avg's about 50-300 messages, and runs out of heap space after about 20-30 minutes of application uptime.

      Any suggestions for resolving this issue would be greatly appreciated... we've tried with hsql as well but are unable to determine why jboss messaging is running out of heap space.