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.
Install the product at the V6.0.2 level or later to install the installver command tool. After installing the command, you can increase the maximum heap size setting.
Overview
If we need more memory for either a product verification or a baseline checksum verification, increase the maximum heap size setting for your JVM by including a setting in the installver command script.
Procedure
- Edit the installver command script:
![]()
![]()
![]()
Edit the app_server_root/bin/installver.sh file.
Edit the app_server_root\bin\installver.bat file.
- Add or increase the maximum heap size setting:
![]()
![]()
![]()
Change the following line:
"$JAVA_HOME"/bin/java \to:"$JAVA_HOME"/bin/java -Xmx256M \
Change the following line:
"%JAVA_HOME%\bin\java" "-Dproduct.home=%WAS_HOME%"to:"%JAVA_HOME%\bin\java" -Xmx256M "-Dproduct.home=%WAS_HOME%"
Results
After 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.
Related tasks
Change the default message digest algorithm
Verifying the installver command
Verifying checksums of installed files