IBM Support

How to prevent Java Gateway (JGATE) from dumping

Troubleshooting


Problem

The JGATE server dumps a lot of messages and all other activities related to JGATE are suspended
 

Symptom

The below messages are seen in the JGATE log
 JVMDUMP010I Heap dump written to /u/AVZ/heapdump.20210315.110700.34277209.0011.phd
 JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
 java/lang/OutOfMemoryError: Java heap space
 	at java/lang/ThreadLocal$ThreadLocalMap.set (ThreadLocal.java:502)
 	at java/lang/ThreadLocal$ThreadLocalMap.access$100 (ThreadLocal.java:311)
 	at java/lang/ThreadLocal.setInitialValue (ThreadLocal.java:197)

Resolving The Problem

To prevent JGATE from dumping you can use the option -Xdump:none
java -jar -Xdump:none  JVM_ARGS="-Xmx1024m "JDBCGateway.jar

Document Location

Worldwide

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4NKG","label":"IBM Data Virtualization Manager for z\/OS"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"},{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKRKK","label":"IBM Db2 Analytics Accelerator Loader for z\/OS"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"}]

Document Information

Modified date:
05 May 2021

UID

ibm16431289