Frequently running out of memory...

I'm doing a big cvs merge. The merge was performed outside of IDEA, but I'm resolving the conflicts within idea. I'm opening many files, the files are quite long (5-10k lines), with lots of errors due to conflict markers, and I'm opening a lot of cvs history tabs and cvs diff windows.

I keep running out of memory. I'm not sure why. I'm closing my history tabs and diff windows, so I would assume idea should be able to recover enough memory to keep going. When open the project, my memory consumption is around 70 of 103, but it will quickly creap up to around 200 meg, then shutdown.

3 comments
Comment actions Permalink

You can adjust the memory settings IDEA uses via the idea.lax file (under the /bin directory).

There's setting called "lax.nl.java.option.additional" where you can adjust the JVM heap and GC settings as per standard java command-line options.

I have mine set as follows with a 512meg maximum and the parallel GC enabled (not so many pauses during GC).

lax.nl.java.option.additional=-Xms64m -Xmx512m -XX:UseConcMarkSweepGC -XX:UseParNewGC -Dsun.java2d.noddraw=true -Didea.system.path="..
system" -Didea.config.path="..
config" -Didea.popup.weight=heavy

Andy

0
Comment actions Permalink

I know I can increase the max heap, but that's not really the point. If I am cleaning up windows and tabs as I go, I'm wondering if the memory should be continuously creaping up and not being released.

0
Comment actions Permalink

Please check how many ant build files you have added to the Ant view. Does it help if you remove them from the view?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Russell Egan" <russegan@email.com> wrote in message news:25413725.1087323251272.JavaMail.itn@is.intellij.net...

I'm doing a big cvs merge. The merge was performed outside of IDEA, but I'm resolving the conflicts within idea. I'm opening

many files, the files are quite long (5-10k lines), with lots of errors due to conflict markers, and I'm opening a lot of cvs
history tabs and cvs diff windows.
>

I keep running out of memory. I'm not sure why. I'm closing my history tabs and diff windows, so I would assume idea should be

able to recover enough memory to keep going. When open the project, my memory consumption is around 70 of 103, but it will quickly
creap up to around 200 meg, then shutdown.


0

Please sign in to leave a comment.