Question & Answer
Question
In RAA Fix Pack 10 (v6.1.0.10) or older version, as the default heap space is 512KB, you may get OutOfMemoryError as below:
[2017/01/05 11:37:33:998] PostProcessor SEVERE: OutOfMemoryError: Max memory=[536.870912 MB], Total memory=[516.620288 MB], Used memory=[147.884928 MB], Delta used memory=[352 B] [2017/01/05 11:37:34:185] PostProcessor SEVERE: DMH7922E: Unexpected error in com.ibm.dmh.aqp.HandleContainerScanLoad processor: Java heap space
How to increase the java heap space if you are using the embedded WAS?
Answer
Option1: RAA Fix Pack 11 (v6.1.0.11) or higher contains an upgrade for the embedded app server to no longer use the default heap space (512KB), instead it is set to 1GB (in server.bat). You can upgrade to the latest RAA version to avoid the OutOfMemoryError error.
Option 2: You can increase the heap space to 1GB without upgrading the application v6.1.0.11 or higher, by doing the following steps:
Stop the application server.
Edit \wlp\usr\servers\dmh\jvm.options
Add the following two lines (order is unimportant):
-Xms1024m -Xmx1024m
Save the file.
Start the application server.
Was this topic helpful?
Document Information
More support for:
Rational Application Analyzer
Operating system(s):
z/OS
Document number:
6143913
Modified date:
24 February 2017
UID
dwa1358780