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: unable to create new native thread



Server crashes Reason Code Advisor (RCA) in Pega 7.1.8.

Error Messages

19:41:03,599 STDERR [stderr] (aThread) java.lang.OutOfMemoryError: unable to create new native thread
19:41:03,599 STDERR [stderr] (aThread) at java.lang.Thread.start0(Native Method)
19:41:03,600 STDERR [stderr] (aThread) at java.lang.Thread.start(

Steps to Reproduce

Not applicable

Root Cause

Operating system not able to generate native thread for JVM.


Increase number of max user processes (ulimit -u).  

Refer to


Published August 24, 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