OutOfMemory(OOM) error due to lack of native memory for thread creation

The total amount of native memory used by the Gateway daemon increases per thread. In 64 bit java every thread running in AMODE64 requires at least 3MB virtual storage above the bar for its stack storage and control blocks.

Symptom

The Gateway daemon stops responding and the JVM writes a java.lang.OutOfMemory exception to the stderr log file or to the Java™ dump file on thread creation. For example


"java/lang/OutOfMemoryError" "Failed to create a thread: retVal
-1073741830, errno 132 (0x84), errno2 -1055784930 (0xffffffffc112001e)"

Probable cause

THE MEMLIMIT and REGION size defined would be lesser than the actual amount required.

Action

Increase the MEMLIMIT and REGION size for CICS transaction gateway as per the configuration.


Information Information

Feedback


Timestamp icon Last updated: Thursday, 18 March 2019


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//troubleshooting/topics/ahpdwde.html