Tag Archive for 'PermGen'

JVM : Out Of Memory PermGen

Interesting thing I did not know about Java – PermGen. Apparently other than just the stack (local variables and methods) and the heap (everything else), java uses this extra storage which can also cause OOMs.

PermGen is where a few very long-lived types of objects are persisted in Java, such as class definitions and ‘intern’ed Strings.  It uses separate storage from the heap and the stack.  If you run out of PermGen you will get out of memory errors.  If you run very low you will get a JVM that spends all its time garbage collecting.

Few things I came about when I googled around:

Luckily I’ve never had to deal with PermGen OOM before. Apparently it’s hell-of-a-job debugging this issue.

From The SDE Tip – Amazon

Popularity: 1% [?]