Support Article
Environment hangs as a result of OutOfMemoryError in environment
SA-61282
Summary
OutOfMemoryError occurs in the Pega environment. As a result, the environment hangs.
Error Messages
[8080-exec-10] [TABTHREAD2] [ ] [:01.01.01] (il.classloader.PRClassLoaderDB) ERROR your_host.com |127.0.0.1 your_user - (com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$Loader@40c05580) Error in defineClass: com.pegarules.generated.ruletype.ra_action_rulename_17fe33882c118baf8e4d4b79c3d1e541
java.lang.OutOfMemoryError: Metaspace
Steps to Reproduce
Unknown.
Root Cause
The Metaspace is a form of JVM internal memory (not part of the heap where objects are stored) used for class loading or mapping and similar Java processes. It frequently needs to be enlarged proportionate to the JVM size.In this case, Pega loaded a class associated with a custom rule, however, there was no free Metaspace memory to store that class mapping.
Resolution
Perform the following local-change:
Increase the MaxMetaspaceSize by increments of 512M or 1024M from its previous value.
Published September 21, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.