IntelliJ 8.0.1 – PermGem Space OutOfMemoryError

2009 January 14
by androck238

If you are like me and do multiple deploys to your local running server without shutting it down, you will eventually run into the dreaded “PermGem Space (OutOfMemoryError)” which will cause you to kill your server and restart. I found this blog: http://moojix.wordpress.com/2008/11/08/intellij-80-memory-settings/ that talks about editing the memory settings for your VM. I’ve done it and so far so good, no guarantee it will fix it permanetly, but worth a shot. You need to edit this file:

C:\Program Files\JetBrains\IntelliJ IDEA 8.0.1\bin\idea.exe.wmoptions

and change it to match:

-Xmx512m
-XX:MaxPermSize=140m
-ea

You might want to make a backup of the file so that you can revert to it if need be.

- Sapper

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS