After installing the Oracle Commerce Platform on JBoss, you should run the Configuration and Installation Manager (CIM) utility to configure your environment. CIM modifies the JVM arguments in the <JBdir>/bin/standalone.conf|bat file by adding the following line:

set JAVA_OPTS=%JAVA_OPTS% -server -Xms512m -Xmx1024m -XX:MaxNewSize=256m

If you are setting up a JBoss instance that is dedicated to lock management, you can run that instance with a smaller heap size, since the lock manager does not serve pages. To do this, duplicate the standalone.bat|sh and standalone.conf files and rename the duplicates (for example, standaloneLockMan.sh and standaloneLockMan.conf). You may need to modify the standaloneLockMan.bat|sh file to point to the standaloneLockMan.conf|bat configuration file.

Change the JVM arguments in the standaloneLockMan.conf|bat file to:

set JAVA_OPTS=%JAVA_OPTS% -server –Xms512m –Xmx512m -XX:MaxPermSize=128m
-XX:MaxNewSize=128m -Dsun.rmi.dgc.server.gcInterval=3600000

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices