Configure the Server memory settings
To avoid memory issues, adjust the memory settings before deploying the applications. Do this by updating JAVA_OPTS settings in the file JBOSS_DIST/jboss-as/bin/run.conf (Linux) or JBOSS_DISTjboss-asin un.conf.bat (Windows) to match your application requirements. The default settings are: -Xms1303m -Xmx1303m -XX:MaxPermSize=256m