WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Handling out-of-memory situations

Memory requirements for using the installver_wbi command are related to the size of the installed file set for the product. For the basic verification scenario, comparing an installed file set with the provided bill of materials might require a maximum heap size of 128 MB to 256 MB.

About this task

If you need more memory for either a product verification or a baseline checksum verification, you must increase the maximum heap size setting for your Java™ Virtual Machine (JVM) by including a setting in the installver command script. (The installver_wbi command calls the installver command script.)

For i5/OS operating system Note: On i5/OS® systems, the default Java maximum heap size is *NOMAX, so there is no need to increase it.

To handle out-of-memory situations, perform the following steps.

Procedure
  1. Edit the installver command script:
    • For Linux operating systemFor UNIX operating system On Linux® and UNIX® platforms: Edit the install_root/bin/installver.sh file.
    • For Windows operating system On Windows® platforms: Edit the install_root\bin\installver.bat file.
  2. Add or increase the maximum heap size setting:
    • For Linux operating systemFor UNIX operating system On Linux and UNIX platforms: Change the following line:
      "$JAVA_HOME"/bin/java \
      to:
      "$JAVA_HOME"/bin/java -Xmx256M \
    • For Windows operating system On Windows platforms: Change the following line:
      "%JAVA_HOME%\bin\java" "-Dproduct.home=%WAS_HOME%"
      to:
       "%JAVA_HOME%\bin\java" -Xmx256M "-Dproduct.home=%WAS_HOME%" 
  3. Save your changes.

Results

After you change the setting, run the installver_wbi command to verify that it works correctly.

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tins_installver_wbi_oom.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).