Troubleshooting problems with off-line inspections
Hi,
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
magic?
Thanks for any pointers you can give me,
R
Please sign in to leave a comment.
Hello Robert,
If you have a snapshot could you please upload it? I hope that we'll be able
to find 'guilty' inspection or detect problems with framework.
Thank you.
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
What kind of snapshot do you want? A memory snapshot with Adaptive
Allocations when GC is running hot?
R
Hello Robert,
yes and CPU snapshot if it is possible
Thank you.
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
http://www.jetbrains.net/jira/browse/IDEA-10004
This is just one of my problematic inspection profiles. I have others
but it's really slow getting the data you need :(
Robert