-XX:MaxPermSize

From Resin 3.0

Revision as of 17:14, 6 December 2005 by Sam (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Option -XX:MaxPermSize=size

Personal tools