Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Object Allocation analysis on JVM 1.5(Identifying memory leaks on JVM 1.5)
Object Allocation analysis on JVM 1.5 [message #517475] Sun, 28 February 2010 09:15 Go to next message
Eclipse UserFriend
Hello All,

I am trying to locate possible memory leaks on an application (JVM 1.5) but when looking to the doc, it seems that "Object references table" was only available with JVM 1.4 ?

The view provided here (Object References Table) seems really interesing, but I can only see the Object Allocation View when profiling my JVM 1.5 application.

When looking to the following help, I don't see some equivalent to the Object References Table ? This view seems really useful to track which Object is referencing many other Objects (possible memory leak). When I try to go to the allocation details view (which seems to be the alternative of "Object References Table") to determine the object allocation site of the leaking object, I got nothing... Any idea (for info I checked the box: "Track object for allocation sites") ?

Thank you in advance.

Joel

[Updated on: Sun, 28 February 2010 11:56] by Moderator

Re: Object Allocation analysis on JVM 1.5 [message #517728 is a reply to message #517475] Mon, 01 March 2010 15:42 Go to previous message
Eclipse UserFriend
Here is the solution:

In order to see the "Object Allocation Site" which is the alternative of "Object Allocation View" on JVM 1.5, you need to enable the "Tack object for allocation sites" (as stated in my previous post).
When the application you want to profile is a remote process, the Eclipse check box option: "Track object for allocation sites" does not have any effect... It seems to be only related to local profiling. For that purpose, it is mandatory to start the remote Java process you want to monitor using the following HeapProf option:
HeapProf:allocsites=true

Previous Topic:PrivilegedActionException when using TPTP
Next Topic:Run junit test application from command line
Goto Forum:
  


Current Time: Wed Jul 23 07:49:44 EDT 2025

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

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

Back to the top