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

java.lang.OutOfMemoryError: native memory exhausted

SA-21274

Summary



Gradual Increase in memory utilization is observed and eventually native OutOfMemory is thrown.

Error Messages



java.lang.OutOfMemoryError:
native memory exhausted


Steps to Reproduce



Not Applicable

Root Cause



A third-party issue.

the node ran out of NATIVE memory which is the non-java off heap. IBM java under WebSphere has known native memory leaks. Review of java cores javacore*.txt showed too many occurrences of “sun/reflect/DelegatingClassLoader” (>1000) as described in the IBM link below

http://www-01.ibm.com/support/docview.wss?uid=swg21566549


Resolution



Make the following change to the operating environment:

Please set system property -Dsun.reflect.inflationThreshold=0

Published March 23, 2016 - 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