Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » memory snapshots of eclipse plugins
memory snapshots of eclipse plugins [message #22481] Tue, 16 September 2008 17:02 Go to next message
Eclipse UserFriend
I am trying to find a memory leak in one of my plugins. I tried both the
YourKit and JProfiler tools. In the views of the live objects, I can see
a class which should have gotten garbage collected. I now want to take a
snapshot so I can determine which class is holding a reference to the
instance. However, when I take my snapshot, I can't see any instance of
the class or any other classes in that package. I can see some classes in
the java.lang package and instances of my plugin management classes.

I think I may need to enable profiling for the classes implementing my
plugin or perhaps the plugin loader or Eclipse JVM is not configured
properly to enable snapshots.

Has anyone been able to successfully take snapshots and see instances of
their classes loaded by plugins?

Thanks
Carolyn
Re: memory snapshots of eclipse plugins [message #22832 is a reply to message #22481] Fri, 19 September 2008 17:04 Go to previous message
Eclipse UserFriend
I was able to get memory snapshots working by switching to the latest
version of the Sun 1.6 JVM.

Once I got the memory snapshots working, finding the leaks was a snap
using YourKit.

Thanks
Carolyn
Re: memory snapshots of eclipse plugins [message #580790 is a reply to message #22481] Fri, 19 September 2008 17:04 Go to previous message
Eclipse UserFriend
I was able to get memory snapshots working by switching to the latest
version of the Sun 1.6 JVM.

Once I got the memory snapshots working, finding the leaks was a snap
using YourKit.

Thanks
Carolyn
Previous Topic:Debugging Eclipse Application Problem: Launches repeatedly
Next Topic:Unable to see some wrapped plugin from the target platform
Goto Forum:
  


Current Time: Wed May 07 19:11:39 EDT 2025

Powered by FUDForum. Page generated in 0.02909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top