WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Increasing the Java virtual machine heap size using scripting

Why and when to perform this task

For some servers, it may be required to specify a Java virtual machine (JVM) heap size greater than the default. You can increase the heap size of the JVM using the administrative console, the wsadmin tool, or a Java client. If the JVM platform is 32-bit AIX and it is required that the application server, deployment manager, or node agent have a heap size greater, perform the following steps:

Steps for this task

  1. Set attributes that control the heap size for the JVM associated with the server. This can be done using the administrative console, the wsadmin tool, or a Java client.
  2. Perform one of the following to increase the heap size of the JVM:
    • Create a script to launch the server. Use the -script option with the command that you are using to start the target server, for example, the startServer, startManager, or startNode commands. This will generate a script for that you can use to launch the target server in the future.
    • Manually set the environment variables before starting the target server with the startServer, startManager, or startNode commands. With the following settings, you can specify a maximum heap size for the JVM of 11 multiplied by 256 megabytes:
      export IBM_JVM_LDR_CNTRL_NEW_VALUE=MAXDATA=0XB0000000@DSA
      export LDR_CNTRL=MAXDATA=0XB0000000@DSA
      
    For additional information on AIX address space management, view the following sources:



Related information
Configuring servers with scripting

Task topic    

Terms of Use | Feedback

Last updated: Dec 11, 2005 4:07:15 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/txml_heapsize.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)