You can increase the minimum and maximum Java™ Virtual Machine (JVM) heap
size limit in WebSphere® Application
Server. Increasing heap size improves startup, helps prevent out of
memory errors, and reduces disk swapping.
Before you begin
Before you modify the Java heap
size, ensure that the host has enough physical memory to support a
JVM of 3.0 GB without swapping. If the physical memory of the host
system exceeds 3 GB, you can increase the maximum heap size. However,
if the heap size is too large, the system does not have enough physical
memory and starts allocating virtual memory to hold the data.
About this task
Adjust the Java heap
size with the following guidelines before installing the
IBM® Security
Access Manager for Enterprise Single Sign-On IMS Server component.
To learn more, search for
Java virtual
machine settings heap tuning in the following documentation:
If you have multiple servers, repeat this procedure for every
server in the cluster.
Procedure
- On the WebSphere Application
Server host, where you are installing the IMS Server,
log on to the administrative console. For example: https://localhost:9043/ibm/console/.
- Navigate to the Java virtual
machine settings.
- Expand and select WebSphere
application servers.
- Click the name of your server. For example: server1.
- Under the Server Infrastructure group,
click to expand Java and Process Management.
- Click Process Definition.
- Under the Additional Properties group,
click Java Virtual Machine.
- Use the following settings (for a single server instance,
3 GB host):
- Initial Heap Size: 1024
- Maximum Heap Size: 1280
- Click OK.
- In the messages box, click Save.
- Click OK.
- In the messages box, click Save.
- Restart the WebSphere Application
Server.