Previous Topic: How Much Memory is Required?

Next Topic: Default Administrator ID Based on a Mainframe User Account


Where Are the Memory Settings and How Are They Changed?

Change the memory settings according to the product you are using.

Java Web Application Server

Add or change the following Java parameters when you launch the Java Web application server.

Apache Tomcat Java Web application server installed by the installer

Go to the install directory, find the appropriate file and change the settings:

Windows:

In apache-tomcat/bin/catalina.bat find the line

"set "CATALINA_OPTS=-Xms256m -Xmx1024m …"

Make the changes according to your requirements.

Windows – registered as a Windows service:

In apache-tomcat/bin/service.bat, find the string

"--JvmMs 256 --JvmMx 1024"

Make the changes according to your requirements.

Note: You need to re-install the service as follows:

1. Remove the existing service service.bat remove

2. Re-install the service service.bat install

Other operating systems:

In apache-tomcat/bin/catalina.sh find the line

"CATALINA_OPTS="-Xms256m -Xmx1024m…"

Make the changes according to your requirements.

WebLogic

You can set the memory using the environment variable USER_MEM_ARGS.

For example:

USER_MEM_ARGS=-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=1024m