Hi there,
Howdy. I was profiling an application and found some discrepency in the profiler memory snapshot reports.
Say Object A has Object B as an instance variable.
Objects for Instance B is 1.
But, Objects for Instance B in Instance A is 19.
This is little misguiding. Any response is greatly appreciated.
I do not know how to attach an image here elase I do have an image of the snapshot which is much more clearer to understand.
Thanks,
Venkatesh
Profiler reports wrong number of instances
-
- Posts: 8
- Joined: Fri May 20, 2005 12:53 pm
Re: Profiler reports wrong number of instances
Forgot to mention that I'm using build 616. Profiling an app on Linux x86_64 and yjp client on Windows 2000.svejb wrote:Hi there,
Howdy. I was profiling an application and found some discrepency in the profiler memory snapshot reports.
Say Object A has Object B as an instance variable.
Objects for Instance B is 1.
But, Objects for Instance B in Instance A is 19.
This is little misguiding. Any response is greatly appreciated.
I do not know how to attach an image here elase I do have an image of the snapshot which is much more clearer to understand.
Thanks,
Venkatesh
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm
Please upload ZIPped snapshot file to our FTP server
Here is connection parameters:
ftp://194.24.241.196
user: ftp
empty password
also send step-by-step description how to reproduce the problem to [email protected]
Thank you in advance,
--vladimir
Here is connection parameters:
ftp://194.24.241.196
user: ftp
empty password
also send step-by-step description how to reproduce the problem to [email protected]
Thank you in advance,
--vladimir
-
- Posts: 8
- Joined: Fri May 20, 2005 12:53 pm
I've uploaded the image files and circled the important classes in RED color.
Step by Step Instructions:
I start my server
Start the client which uses 100 threads to concurrently access the server with 6000 requests
I wait until all the requests are complete
Force a GC in the profiler and wait for 10 mins
I then take a memory snapshot
Thanks,
Venkatesh
Step by Step Instructions:
I start my server
Start the client which uses 100 threads to concurrently access the server with 6000 requests
I wait until all the requests are complete
Force a GC in the profiler and wait for 10 mins
I then take a memory snapshot
Thanks,
Venkatesh
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm
Here is my comments about your screenshots:
Number (19) which is near to field GFRetrieveAgentImpl.rmdRetrieveDao is not a number of instances of class com.gale.fca.retrieve.agent.RmdRetrieveDao. It's a number of objects that are retained by this feild. It means that Ctrl+Q ("Quick Info" action) will show you the same numbers.
Number (19) which is near to field GFRetrieveAgentImpl.rmdRetrieveDao is not a number of instances of class com.gale.fca.retrieve.agent.RmdRetrieveDao. It's a number of objects that are retained by this feild. It means that Ctrl+Q ("Quick Info" action) will show you the same numbers.
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm