Designer hangs with the error "java.lang.OutOfMemoryError: PermGen space."

Designer hangs with the error "java.lang.OutOfMemoryError: PermGen space."

book

Article ID: KB0086368

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) -
Not Applicable -

Description

Resolution:
Designer freeze with following error in Designer.log
==============================.
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
==============================.
This error is related to PermGen. Increase the PermGen space and its GC by adding the following line to designer.tra:

java.extended.properties=-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:PermSize=512m -XX:MaxPermSize=512m

If this does not resolve the issue then attach the four files designer.log, stderr.log and stdout.log from "<HOME>/.TIBCO/logs" and designer.tra and submit them to TIBCO Support.

Issue/Introduction

Designer hangs with the error "java.lang.OutOfMemoryError: PermGen space."

Additional Information

OutOfMemoryError: PermGen space, Designer freeze , hangs.