How do I stop getting OutOfMemoryError PermGen space errors?

How do I stop getting OutOfMemoryError PermGen space errors?

book

Article ID: KB0094583

calendar_today

Updated On:

Products Versions
TIBCO Designer -
Not Applicable -

Description

Resolution:
Description:
    I am getting an error similar to the following:
        BW-JAVA-100001 While executing [invoke] encountered [java.lang.OutOfMemoryError] : [PermGen space ]
    Is there any way that I can stop this occurring?

Environment:
    All

Resolution:
    Try adding the following line:
        java.extended.properties -XX:MaxPermSize=256m
    to the appropriate TRA file.  The size parameter may need to be adjusted as appropriate.
    For example if the error message was seen in Designer, then add the line to the file:
        [TIBCO HOME]/designer/x.x/bin/designer.tra

Issue/Introduction

How do I stop getting OutOfMemoryError PermGen space errors?