A colleague has the following setting in Eclipse / Tomcat run parameters, and complains of out of heap memory all the time:
-XX:PermSize=512M
-XX:MaxPermSize=1024M
-Xmx1024m
If I understand this correctly, both the max PermGen
and max Heap
are each 1 GB. Since PermGen
is a special part of the Heap, this amounts to allocating all of the heap to PermGen
. Is this correct?
Per Perm Space vs Heap Space, I might be correct. Would this be causing the issue?
Per Is Java PermGen Space Part of Total VM Memory, my understanding is not correct.