Handling out-of-memory situations
Memory requirements for using the installver 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.
Before you begin
Install the product at the v6.2 level or later to install the installver command tool. After installing the command, you can increase the maximum heap size setting.
About this task
If you need more memory for either a product verification or a baseline checksum verification, increase the maximum heap size setting for your Java virtual machine (JVM) by including a setting in the installver command script.
- Edit the installver command script:
- Add or increase the maximum heap size setting:
Change the following lineto"$JAVA_HOME"/bin/java \"$JAVA_HOME"/bin/java -Xmx256M \
Change the following lineto"%JAVA_HOME%\bin\java" "-Dproduct.home=%WAS_HOME%""%JAVA_HOME%\bin\java" -Xmx256M "-Dproduct.home=%WAS_HOME%"
ResultsAfter you change the setting, run the installver command to verify that it works correctly.
What to do next
Go to Verifying the installver command to learn more about the installver command.
Changing the default message digest algorithm Verifying the installver command Verifying checksums of installed files