Description of problem:
Version-Release number of selected component (if applicable):
I've been having repeated problems with Eclipse crashing because it runs out of
PermGen space. The default /usr/share/eclipse/eclipse.ini file includes a line
intended to increase the PermGen space, and this argument is definitely making
it to Eclipse (now that I've temporarily copied the file to /usr/lib/eclipse,
see bug 394161) -- I can see in the eclipse.vmargs it if I go to Help - About
and click "Configuration Details".
However, I don't think that the Java VM is actually changing its behaviour in
any way based on this argument. If I monitor the PermGen usage with jstat (jstat
-gcpermcapacity -t -h30 <pid> 5000 prints the values every 5 seconds), I can see
that the PGCMX value is always 65536.0 and the PGC value increases as I work
with Eclipse until it sticks at 65536.0, and then Eclipse generally crashes.
Steps to Reproduce:
1. Run Eclipse with -vmargs --XX:MaxPermSize=128m (as in the default eclipse.ini)
2. Run jstat -gcpermcapacity and look at the value for PGCMX
PGCMX is 65536.0
PGCMX should be 131072.0 (or thereabouts)
Oops, the version of IcedTea is java-1.7.0-icedtea-22.214.171.124-0.20.b23.snapshot.fc9
I have this in my eclipse.ini:
and I have java-1.6.0-openjdk-126.96.36.199-0.10.b09.fc9 installed. Running the jstat
command you posted, I get this value every 5 seconds:
Yes, sorry, I guess this bug probably went away a while ago. I haven't seen
PermGen-type crashes for a while now. I'll close this.