Permanent Generation Space in JVM is a separate memory area than usual heap / stack .
It contains the information about static classes , variables etc that are stored permanently ..like Class's definitions are stored on it permanently . Class loaders deploy and undeploy classes all the time.When an application is deployed or undeployed, its class definitions and
Classloader are respectively put into and removed from the permanent
generation heap.
When this space in memory gets filled then program throws OutOfMemoryError: PermGen Space error.
More information for this are at
To make size of the permanent generation heap space bigger
-XX:MaxPermSize=256m is the cmd
No comments:
Post a Comment