Number of references and details does not show up [message #46539] |
Wed, 14 December 2005 15:41 |
Eclipse User |
|
|
|
Originally posted by: dh-discuss.antivir.de
Hi,
I'm having a problem when searching for memory leaks using the TPTP 4.1.0.
In the "Object References" table the "Number of References" and
"Details" columns are allways empty.
This is what I do:
Start the application (a workflow server) with profiling switched off.
It needs to be switched off until the client has connect to the server
as connecting fails if profiling is on.
The application appears in the Profiling Monitor.
Start Profiling.
Use the client to send a request to the server and let the server do its
work.
In the Profiling Monitor right click on the application entry and select
"Collect Object References". Then again right click on the application
entry and select "Open With > Object References".
The "Object References" tab opens/updates with the columns "Show
Referenced By", "Package", "Size (bytes)", "Number of References" and
"Details".
The table body shows class names, package names and sizes but no
reference counts nor details and the rows do not start with a [+] to
expand sub trees.
Here are the settings of the profiling set:
In the "Overview" tab:
======================
Profiling Types
---------------
[x] Memory Analysis
[x] Basic Memory Analysis
with [x] Collect instance level information
[x] Time Analysis
[x] Execution Time Analysis
with [x] Collect boundary classes excluded by the filter set
Boundary class depth [1]
(*) Show execution flow graphical details
[x] Collect instance level information
Filter Set
----------
Class Method Name Rule
myPackage.* * INCLUDE
* * EXCLUDE
In the "Limits" tab:
====================
Checked nothing.
Would be very glad if somebody could tell me what I might been missing.
Regards,
Dirk
|
|
|
Re: Number of references and details does not show up [message #46566 is a reply to message #46539] |
Wed, 14 December 2005 16:33 |
Eclipse User |
|
|
|
Originally posted by: dh-discuss.antivir.de
Apparently it was my own fault.
I didn't notice the little triangles in front of some of the class names.
Clicking on them opens another row containing the number of references.
Maybe this may help others who are in search of the number of references
of their objects.
Regards,
Dirk
Dirk Hoffmann wrote:
> Hi,
>
> I'm having a problem when searching for memory leaks using the TPTP 4.1.0.
>
> In the "Object References" table the "Number of References" and
> "Details" columns are allways empty.
>
> This is what I do:
>
> Start the application (a workflow server) with profiling switched off.
> It needs to be switched off until the client has connect to the server
> as connecting fails if profiling is on.
>
> The application appears in the Profiling Monitor.
>
> Start Profiling.
>
> Use the client to send a request to the server and let the server do its
> work.
>
> In the Profiling Monitor right click on the application entry and select
> "Collect Object References". Then again right click on the application
> entry and select "Open With > Object References".
>
> The "Object References" tab opens/updates with the columns "Show
> Referenced By", "Package", "Size (bytes)", "Number of References" and
> "Details".
>
> The table body shows class names, package names and sizes but no
> reference counts nor details and the rows do not start with a [+] to
> expand sub trees.
>
> Here are the settings of the profiling set:
>
> In the "Overview" tab:
> ======================
>
> Profiling Types
> ---------------
> [x] Memory Analysis
> [x] Basic Memory Analysis
> with [x] Collect instance level information
>
> [x] Time Analysis
> [x] Execution Time Analysis
> with [x] Collect boundary classes excluded by the filter set
> Boundary class depth [1]
> (*) Show execution flow graphical details
> [x] Collect instance level information
>
> Filter Set
> ----------
>
> Class Method Name Rule
>
> myPackage.* * INCLUDE
> * * EXCLUDE
>
> In the "Limits" tab:
> ====================
>
> Checked nothing.
>
> Would be very glad if somebody could tell me what I might been missing.
>
> Regards,
>
> Dirk
|
|
|
Re: Number of references and details does not show up [message #49915 is a reply to message #46566] |
Tue, 10 January 2006 20:54 |
Eclipse User |
|
|
|
Originally posted by: david.lowe.airplaynetwork.com
I'm having much the same problem but unfortunately without your success.
I've enabled very verbose/full profile criteria (as per your description,
for example), including instrumentation of object instances. I've viewed
object references a variety of ways, including right clicking "Collect
Object References", and Open With -> Object Reference, but my object
reference window never contains a tree and the "Number of References"
column is always blank.
The "Show Reference By" column contains only class names (there is never a
'+' or tree indicator I can find), the 'Package' and 'Size' columns are
always populated. The 'Number of References' and 'Details' columns are
always blank. I can't seem to figure out how drill down to see where the
instances are actually being allocated.
In Eclipse help, e.g.:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/tasks/tefilter.htm
There is a page entitled 'Object References table' with an example tree
structure in the "Show Reference By" column. What am I missing in order
to enable that view?
I'm using Eclipse 3.1.0 with TPTP 4.1.0 and JDK 1.5.0_04.
|
|
|
Powered by
FUDForum. Page generated in 0.05451 seconds