Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega nodes stop working with errors



Pega nodes stop working with errors.

Error Messages

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f6f89c30000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory.
# An error report file with more information is saved as:
# [logfile path]

Steps to Reproduce


Root Cause

A defect or configuration issue in the operating environment:

The following JVM options are used:

export MEMORY_OPTS='-Xms6144m -Xmx6144m -XX:MaxMetaspaceSize=1024m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintHeapAtGC -XX:+PrintReferenceGC -Xloggc:[LOCATION]/gc.log -XX:+UseG1GC -XX:MaxGCPauseMillis=350 -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=50M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/logs'
These options are used on an environment with a total memory of 8GB, and with a 6 GB object heap (Xmx6144m) and an 1 GB metaspace (-XX:MaxMetaspaceSize=1024m). Thus, only 1 GB of RAM remains to be used by the operating system and the JVM native memory (memory used by the JVM to run the JVM itself). This memory is not sufficient and the JVM is unable to allocate memory for the native operations. 


Perform the following local-change:

Reduce the heap size to 4 GB, allowing more memory allocation by the operating system for the JVM native tasks.


Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us