Edit the <jbossdir>/bin/run file by searching for “Sun JVM memory allocation pool parameters” and changing the JAVA_OPTS line:

set JAVA_OPTS=%JAVA_OPTS% -server -Xms1152m -Xmx1152m -XX:MaxPermSize=128m
-XX:MaxNewSize=128m
 
loading table of contents...