Providing more memory on WebSphere Application Server

If you experience core dumps or Java™ out-of-memory errors, you can make more memory available to WebSphere® Application Server by increasing the maximum heap size for the Java virtual machine (JVM).

Symptoms

You experience core dumps or Java out-of-memory errors when the application is running.

Environment

You set the maximum heap size in the WebSphere Integrated Solutions Console. Log in to the console as explained in Before you start: Opening the administration console.

Resolving the problem

Procedure

To increase the WebSphere Application Server memory settings:

  1. In the side panel of the console, open Servers > Server Types > WebSphere application servers.
  2. In the Application servers panel, click the name of your server.
  3. Under Server Infrastructure, expand Java and Process Management and click Process definition.
    Note: On z/OS®, an additional layer provides three resources that can be administered: Adjunct, Control, and Servant. If you are working in that environment, select Servant.
  4. Under Additional Properties, click Java Virtual Machine.
  5. Set the Initial heap size and Maximum heap size fields to the appropriate values.

For example, you can set the following values:

  • For a 32-bit configuration: 512 and 1024 MB respectively
  • For a 64-bit configuration: 1024 and 4096 MB respectively

  1. Click OK, then Save to save the changes directly to the master configuration.