Recently I worked with Eclipse plugin development. While I tried run Ecipse plugin project, I got "PermGen space - OutOfMemory Error". I just googled and read some online resources and solved that problem.

Why this Error

Whenever we tried to run the plugin project, Ecipse will open new Eclipse with new work-space. This new work-space will run on new JVM. Generally this JVM memory space is 64mb. This memory is not sufficient to run Eclipse. This is why it throws "PermGen space - OutOfMemory Error".
To avoid this exception, we need to increase PermGen space.

Increase in PermGen Space

Go to Eclipse menu bar and click on
Window > Preferences > Java > Installed JREs > Select the JDK > Edit >
Enter "-XX:MaxPermSize=256m" in "Default VM Arguments" field.
Now the JVM to run Eclipse plugin will have 256MB memory. It is sufficient to run Eclipse. If 256m is not sufficient then make it as 512m.

4 comments:




  1. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
    I wanted to thank you for this websites! Thanks for sharing. Great websites!

    Pubg APK

    Pubg mobile APK

    ReplyDelete
  2. Good blog. Keep sharing. I love them Are you also searching for ajman assignment help? we are the best solution for you. We are best known for delivering writing services to students without having to break the bank

    ReplyDelete
  3. I love it here. Keep sharing your good vibes. I love them Are you also searching for dissertation writing help? we are the best solution for you. We are best known for delivering cheap assignments to students without having to break the bank

    ReplyDelete

Blogroll

Popular Posts