You need to sign in to do that
Don't have an account?

Force.com IDE (Eclipse): "PermGen space" Error
Hello,
I'm getting an error today when trying to save APEX changes in Eclipse:
"Save error: Unable to perform save on all files: PermGen space".
Is this a problem in my workspace, or in the SF Org I am developing in?
Thank you
It just stopped happening for me a moment ago now. Maybe just more performance issues after yesterday's major outage?
Also receiving this error. has anyone reported the issue to salesforce support?
I created a support ticket as well and referenced this thread in it.
I get that error in Eclipse when trying to save to the server and in our Force.com site, I get the same error:
500 Servlet Exception
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
PermGen space is definitely an client-side JVM error. This is an out of memory exception when the amount of memory used by objects in the 'Permanent' generation (in terms of garbage collection) exceeds the available memory allocated by the JVM for this purpose.
To allocate more memory for Eclipse, add the following JVM parameters to your Eclipse command-line or eclipse.ini:
-Xms512m -Xmx1024m -XX:MaxPermSize=512m
If you try this and still experience these errors, try increasing the -Xmx and -XX:MaxPermSize values.
Jon
salesforce.com Product Manager
I didn't realize how many messages there were on this thread with my last post, and I'll admit I hadn't read them all.
This (copied from a prior message) does look like a server problem:
500 Servlet Exception
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
So changing your local JVM params wouldn't help with that. In the past, users have reported client-side PermGen-related OOM issues with Eclipse and the Force.com IDE, so the instructions above may still come in handy.
Unfortunately I don't have any information about any server-side issues at this time, but keep an eye on the trust page for updates.
Thanks,
Jon
I am still seeing the error - tapp0 is the server my sandbox is running in, for reference. Hopefully the fix/issue will roll on through soon.
5:18 (EST) - no change on my side - I can run tests in my sandbox instance, but what I *want* to do is finish and test my trigger, and that ain't happening.
6:16 a.m - I see the notice on trust.salesforce.com indicating that it was resolved, but there is no difference in my instance. I added -vmargs -XX:PermSize=64M -XX:MaxPermSize=128M to my Eclipse.exe instance.
Errors: Save error: Unable to perform save on all files: PermGen space
I was working fine up until ~3:15 (EST) yesterday, have been unable to do anything since.
Seems to be fixxed on tapp0 now, but I plan on monitoring it for a while until my confidence is restored.
There is still no posting on trust about this issue, which helps out a whole lot of nada.
A status message was posted early this afternoon (Pacific time), which appeared at the top of the trust status page (and is still there right now).
The historical marker for the CS0 disruption is up there now too.
The issue was resolved at 1:16PM PST today.