|
Replies:
1
-
Pages:
1
-
Last Post:
Nov 1, 2009 9:07 AM
by: SHodgins
|
|
|
Posts:
3
Registered:
10/31/09
|
|
|
|
Recorded Count and Heap Count
Posted:
Oct 31, 2009 4:17 PM
|
|
|
Hi,
I have done some memory analysis for J2EE application inWebLogic10.3. After investigating the snapshot, I found that RecordedCount and Heap Count and Recorded Memory and Heap Memory, in theinstance view are showing same. Is there any difference between thesetwo ?
For a a particular object the result is
Recorded Count - 119 Recorded Memory - 22,848 Heap Count - 119 Heap Memory - 22,848 Dead Count - 1,036 Dead Memory - 198,912 Keep Alive size - 222,456
Is Recorded Count & Usecase Count same? Any explanation will be greatly appreciated.
Thanks
|
|
|
Posts:
171
Registered:
3/21/07
|
|
|
|
Re: Recorded Count and Heap Count
Posted:
Nov 1, 2009 9:07 AM
in response to: vinu.josey_968
|
 |
Helpful |
|
|
They are different. Typically Recorded Count/Memory is a subset of Heap Count/Memory.
- Heap Count/Memory consists of all of the objects that are reachable in the Java heap space at the time that the JProbe Memory snapshot was taken. - Recorded Count/Memory consists of all of the objects that JProbe observed during the recording session that remained reachable (that is, were not garbage collected) at the time that the JProbe Memory snapshot was taken.
These will be different if and when there are reachable object instances in the Java heap that were created before your recording session starts. We usually recommend that you allow your application server to start and your application to "warm up" before you start recording. This allows you to eliminate the set of stable, long-term objects from the "recorded" set and to focus your investigation on objects created during your use case.
In your example all of the instances of the given class appear to have been created during your recording session.
|
|
|
|
Legend
|
|
Guru: 2001
+
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|