Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Memory Profling and Navigation
Memory Profling and Navigation [message #48528] Thu, 29 December 2005 12:22 Go to next message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

Hi folks,
I have just installed TPTP 4.01 and I am quite impressed that it is
possible to profile eclipse applications out of the box.
I am analyzing an application for memory leaks. It is possible to
navigate through the object references to get information why a
particular object cannot be garbage collected ? How can I get the
objects which hold references to this particular object ?

Michael
Re: Memory Profling and Navigation [message #48589 is a reply to message #48528] Thu, 29 December 2005 14:11 Go to previous message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

You can display the object references by doing the following:

1. Under "Profiling Configuration" switch to the "Profiling" page
2. "Memory Analysis" should be selected
3. Hit the "Edit..." button
4. Hit "Next>" when the "Profiling Set" dialog pops up
5. Hit "Advanced>>" when the "Profiling Types" dialog pops up
6. Check the "Collect instance level information" check box
7. Hit "Finish" if you do not need to change the profiling filters
8. The "Profiling Set" dialog will close and you can now proceed by hitting
the "Profile" button
9. During the profiling session, when you wish to see the object references,
you need to hit the "Collect Object References" button (between the "Stop"
and the "Run Garbage Collection" buttons)
10. Perform a "Refresh" after the profiling status changes from
"monitoring... collecting" to "monitoring"
11. Right click on "Basic Memory Analysis" and select "Open with... ->
Object references"
12. On the "Object Reference" pane you may be able to expand each object's
tree and see what is referencing that object
13. By default the view is to "Show reference by" but you can change to
"Show reference to" from the control at the upper-right corner (the
"down-pointing triangle" next to the "minimize" button)


Samson


"Michael Illgner" <michael.illgner@email.de> wrote in message
news:dp0kbk$h78$1@utils.eclipse.org...
> Hi folks,
> I have just installed TPTP 4.01 and I am quite impressed that it is
> possible to profile eclipse applications out of the box.
> I am analyzing an application for memory leaks. It is possible to
> navigate through the object references to get information why a
> particular object cannot be garbage collected ? How can I get the
> objects which hold references to this particular object ?
>
> Michael
Previous Topic:TPTP and Java Web Start
Next Topic:Comparison with other tools?
Goto Forum:
  


Current Time: Thu Apr 25 08:16:50 GMT 2024

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

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

Back to the top