Eclipse Perm-Gen Errors

Do you like working in eclipse but the

java.lang.OutOfMemoryError: PermGen space

make it impossible to do your job?

There is a solution. Add some java virtual machine arguments to your eclipse call:

./eclipse -vmargs -Xmx256M   -XX:PermSize=128M  -XX:MaxPermSize=512m

And then eclipse should work without this annoyance.

There is also a document which explains why this error is occurring and why this JVM arguments are helping,


One Response to “Eclipse Perm-Gen Errors”

  1. MK Says:

    Thanks Dude! almost cut my wrist out with that PermGen error

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: