We are currently delegating to the jbpm installer ant script for starting up JBoss. They set the max memory to 512m. We probably need that bumped up to 1024m. We either have to modify their Ant script, or else stop calling them and fire up jboss ourselves. Note - they simply call standalone.sh or standalone.bat, depending on the host system.