intellij 8.0 memory settings
Saturday, 8 November 2008
Just installed the new version 8.0 of Intellij Idea.
With default memory settings i got permanent OutOfMemory with nothing else as created a default webapp with one jsp (using Sun JDK 1.6.0_10).
Exception occurred during event dispatching:
java.lang.OutOfMemoryError: PermGen space
So, i modified the memory settings a little bit more aggressive than recommended on IntelliJ Blog:
edit idea-9013/bin/idea.vmoptions (no -server, no -Xms to let the VM decide min settings)
-Xmx512m
-XX:MaxPermSize=140m
-ea
It runs now quite well.
Entry Filed under: programming. Tags: intellij, java.
2 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed

1. IntelliJ 8.0.1 - PermGem Space OutOfMemoryError « Hawe$ome $oftware | Wednesday, 14 January 2009 at 20:12 UTC
[...] (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 [...]
2.
Chatsiri.rat | Wednesday, 25 February 2009 at 17:06 UTC
Thank you.It’s good trick.