[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Plug-in Memory Usage

Eric,

I think TPTP does have some tools for heap analysis. Also, Java 6.0 has some nice mechanisms for tracking all instances of a type and stuff like that. The hard part is how to attribute a memory allocation to a particular plugin, i.e., how from the point of allocation do you go up the stack to find whom to "blame" for the heap allocation?


Eric Bresie wrote:

Is there a more appropriate newsgroup to talk about this kind of thing?

If one was to want to add such functionality, what class is the "About" dialog handled? Looking around some, I find the TPTP project. Would it be possible to utilize some capabilities from the TPTP project to get some of this?


Eric

Ed Merks wrote:

Eric,

No, memory usage can't be easily attributed to a particular plugin.


Eric Bresie wrote:
Not sure if this feature exists already or this is a new feature suggestion, but in the process of working with some large XML files, I started noticing my Eclipse memory usage as a whole increases substancially over time. I searched around and found a large XML bug on bugzilla, but this leads me to ask..

Is there any way to identify the memory usage for a given plug-in? I would like, for example, to go to Help...About...Plugin and have a column in the list included which indicates how much memory is being used (and maybe if the plugin is active). My thought was maybe this could help me identify with where any possible plugin memory problems may be happening.

Eric