Incremental garbage collection helps a little bit, but I still get to a state
where any kind of garbage collection does not help, and I have to restart the
IDE because I'm running at 1 or 2 meg under the maximum heap size. Keep in mind
I am working with extremely large projects, with upwards of 1000 source files
and many large jars in the classpath. I usually have the maximum number of
files open for editing/browsing, such that opening a new one bumps another one
out. My typical session is as follows:
while (true) {
Start IDE (mem usage: 16/21)
Open project
IDEA parses extremely large source file left open from last session (86/113)
Invoke GC (64/113)
Work for about 3-4 hours (184/191)
Invoke GC (184/191)
Invoke GC (184/191)
Invoke GC (184/191)
Stop IDE
}
I don't think increasing the max heap size will help, but I'll try -mx 256. I'm
predicting that IDEA will just gobble that up as well. :)
btw - other people working with IDEA on the same project files claim they don't
see the problem. Could it be something in my usage pattern? These days I'm
making heavy use of Rename, Change Method Signature, and Find Usages (often in a
new tab), as well as certain live templates (itco, itar).
-mike
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs