10.3. Memory settings for Seam example apps
If no other profile is specified at server startup, the
default
server profile is used. However, the production
profile is recommended to run the example Seam applications included with JBoss Enterprise Application Platform.
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_DIST\jboss-as\bin\run.conf.bat
(Windows) to match your application requirements. The default settings are:
-Xms1303m -Xmx1303m -XX:MaxPermSize=256m