I'm running off-line inspections with my continuous build tool
(TeamCity), but I'm running into real memory problems - my profiler
tells me that the garbage collector is using 100% for around 10minutes!
A few questions:
1) I can get a stack trace, but can't tell from it which inspection(s)
are using all the memory because of the obfuscation, is there an easy
way to tell?
2) I increase the heap available, but it doesn't really help (I suppose
the GC just spends its time searching a bigger space). Any pointers for
VM parameters? Do some of the inspections create a lot of temporary
objects so I should increase my eden space size?
3) I was able to ascertain that one of the inspections taking all the
memory was a Global inspection of some kind. But I'm only running the
"Probable bugs" inspections and they all local like local inspections.
Does Idea take advantage of the fact that it's running in off-line mode
to "globalise" some local inspections or otherwise do some memory-eating
Thanks for any pointers you can give me,