Support Article
System running out of memory during start up
SA-1668
Summary
System running out of memory when starting up due to PermGen issues.
Error Messages
2014-09-22 20:54:46,206 [ PegaRULES-Batch-2] [ STANDARD] [ ] [lComplaints:03.06.01] (ernal.async.BatchRequestorTask) ERROR - Batch activity "AEXP-FW-GC-Work.WrapperUpdateGCCase" threw:
java.lang.OutOfMemoryError: PermGen space
Root Cause
Reviewing ALERTS which suggested the max perm size is very low
2014-09-23 04:00:10,030 GMT*7*PEGA0028*85983040*77384908*bc34d551a230fcba0262a2d360e92be6*NA*NA*NA*NA*NA*NA*NA*?*-1*27*Service Thread*NA*com.pega.pegarules.management.internal.events.JVMNotificationManager*NA*NA*NA*NA*NA*NA*NA*NA*NA*NA*NA*NA*Collection usage threshold exceeded for class storage memory pool (PS Perm Gen) INFO:MemoryPool=PS Perm Gen;PoolType=class storage;Event=java.management.memory.collection.threshold.exceeded;TimeStamp=2014-09-23 04:00:10,029 GMT;Count=880;NotificationSequenceNo=13;Threshold=77384908;Used=85983040;Max=85983232;Committed=85983232;Init=22020096;*
Resolution
set a higher max perm size say –XX:MaxPermSize=384m and recycle JVM’s
Published January 31, 2016 - 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.