How to set MaxPermSize for tomcat servlet engine?

How to set MaxPermSize for tomcat servlet engine?

book

Article ID: KB0089656

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Resolution:
As per Apache site ( http://tomcat.apache.org/faq/memory.html) for resolving memory issues:

==========================================================================
If you have a lot of servlets or JSP's, you may need to increase your permanent generation.
By default, it is 64MB. Doubling it to be -XX:MaxPermSize=256m might be a good start.
===========================================================================

You will need to add the below property in bwc/5.2./bin/tomcat_&ltyour servletEngine>.tra file:

java.extended.properties -XX:PermSize=128m -XX:MaxPermSize=256m

Change the values as needed and also append all the other extended properties if you have any.

Issue/Introduction

How to set MaxPermSize for tomcat servlet engine?