This starts displaying the heap status in the status bar.
The garbage can icon is for running the Garbage Collection. It basically makes call to
System.gc() and System.runFinalization()my experiences as I use, develop and hack Eclipse
System.gc() and System.runFinalization()


3 comments:
Thanks Ankur. Its helpful.
Hi Ankur,
As you said the Heap Status is really helpful to track memory leaks for example.
Nevertheless, I think a memory profiler is still required (such as MemoryAnalyzer) to help fixing the memory leaks identified.
Regards,
Manu Selva
http://manuelselva.wordpress.com/
What I mention is 'to keep an 'eye' on Heap. For that you don't a memory analyzer and this shall do. But when (god forbid) you have to 'fix' a memory issue then you need a memory analyzer.
While MAT can do a good a good postmortem analysis, YourKit is great tool for live memory mapping.
Post a Comment