-XX:MaxPermSize

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:Command Line Options]]
+
[[Category:Configuration]]
  
 
MaxPermSize specifies the the maximum size for the permanent generation heap, a heap that holds
 
MaxPermSize specifies the the maximum size for the permanent generation heap, a heap that holds
Line 8: Line 8:
 
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.
 
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''
+
The value for MaxPermSize is specified with the [[Command Line Options]] -XX:MaxPermSize=''size''

Revision as of 14:27, 21 December 2005


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