Environment hangs as a result of OutOfMemoryError in environment
OutOfMemoryError occurs in the Pega environment. As a result, the environment hangs.
[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[email protected]) Error in defineClass: com.pegarules.generated.ruletype.ra_action_rulename_17fe33882c118baf8e4d4b79c3d1e541
Steps to Reproduce
Root CauseThe 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.
Perform the following local-change:
Increase the MaxMetaspaceSize by increments of 512M or 1024M from its previous value.