Showing posts with label memory. Show all posts
Showing posts with label memory. Show all posts

Nov 23, 2010

Uncaught exception: java.lang.OutOfMemoryError: PermGen space

Hi,
Cause:
Memory leak or imperfect memory management of one of your modules.
Solutions:
  1. Restart what you have done all over, if it was a server for example. This may happen when one of your    modules failed to be removed from memory.
  2. Increasing your heap memory buy running with 
Dor

read heap dump

I suggest using eclipse MAT plug in, which can be found here.
After installing the plug in, use file->Open and open the heap.bin you have created (jmap for example).
It will take a while, depends on your computer hardware, but in the end, you would be able to analyaze this memory dump.
Hopefully it helps,
DOr