6776: OutOfMemoryError: PermGen space
I was experiencing some odd behavior with IDEA just now. I had made a copy of my working directory so that I could switch the copy to another CVS branch without disturbing my HEAD copy, and when I loaded up the project file from the copy, it just hung (window not repainting) during the loading process. I waited a few minutes and then killed the process and started it up again. It hung again but then finished loading normally, seemingly without problems until I decided to look into the idea.log.
I found these errors scattered throughout the previous run:
java.lang.OutOfMemoryError: PermGen space
And the big pause during the current run's startup seemed to be Ant-related:
2007-03-27 15:35:15,383 INFO - nfig.impl.AntConfigurationImpl - Start up
2007-03-27 15:36:32,320 INFO - enapi.vfs.impl.jar.JarFileInfo - Opening zip-file C:\j2sdk1.4.2_06\src.zip...
Any idea what's going on here?
Please sign in to leave a comment.
Hello Gordon,
This was fixed in 6784. In 6776 I also saw huge delay (about 1.5 minutes)
on a test project with about 25 ant files. In 6784 the situation is much
better.
However, IDEA never hung "to death" for me. Maybe, its another problem.
Alexander.
Hi Alexander,
Hmm, I just had a PermGen error in 6784, with the very unpleasant effect that
after closing it, IDEA forgot at least some parts (Codestyle) of its application
configuration. It showed a "Could not save application settings" (or similar)
error message, which would be OK for unsaved settings, but losing its existing
configuration is a really bad thing.
I'm using -XX:MaxPermSize=172m which used to be enough in previous builds.
Sascha
That's a good reason for me to try out 6784 :)
Maybe it didn't hang totally but rather I just didn't wait long enough.
It happened again. Filed as http://www.jetbrains.net/jira/browse/IDEA-12168
regarding the lost settings.