Increasing the amount of memory that is available to the server
If you see "Out of memory" errors or are using the server at high capacity, increase the amount of system memory that is available to the server.
For servers that are running as a service on Windows™, see the following technote: http://www-01.ibm.com/support/docview.wss?uid=swg21698228.
- Stop the server.
In the bin/set_env.cmd file (Windows) or
bin/set_env file (Linux and UNIX), increase the memory in the
JAVA_OPTSparameter.For example, the current file might have a line that begins with the following code:
To increase the memory, change the parameter that begins with the code
-Xmx. For example, to increase the memory to 4 GB, use the following value:
-Xmx4096m. Be sure to include the "
m" at the end of the parameter.
- Save the file and restart the server.