Sunday, March 26, 2006

Explaining and Fixing java.lang.OutOfMemoryError: PermGen

Explaining and Fixing java.lang.OutOfMemoryError: PermGen

I've never run into this type of OutOfMemoryError until recently. This article not only tries to help fix the issue (which boils down to setting -XX:PermSize) but more importantly, shows you how you can measure the memory usage.

If you can measure it, you can fix it.

No comments:

Post a Comment