-XX:MaxPermSize

From Resin 3.0

Revision as of 14:27, 21 December 2005 by Ferg (Talk | contribs)
Jump to: navigation, search


MaxPermSize specifies the the maximum size for the permanent generation heap, a heap that holds objects such as classes and methods.

Several Resin users have found excessive garbage collection times even when there is plenty of heap space available as reported by -J-verbosegc. In many of these cases, increasing the MaxPermSize solves the issue.

Because MaxPermSize is a maximum size, it is safe to increase even if it is not known that the application will actually need that space.

The value for MaxPermSize is specified with the Command Line Options -XX:MaxPermSize=size

Personal tools