Total #Live Bytes goes down to 0 when comparing snapshots

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
rohit.sharma
Posts: 1
Joined: Fri Feb 01, 2013 1:31 am

Total #Live Bytes goes down to 0 when comparing snapshots

Post by rohit.sharma » Fri Feb 01, 2013 1:35 am

Comparing two full dumps (first dump when app mem was 5 gigs high, second dump when mem was low 2gigs), i see memory LiveBytes/LiveInstances goes down to 0 i.e. delta = total number in the first snapshot. Can you explain why this is reported so?

Andreas Suurkuusk
Posts: 1029
Joined: Wed Mar 02, 2005 7:53 pm

Re: Total #Live Bytes goes down to 0 when comparing snapshot

Post by Andreas Suurkuusk » Fri Feb 01, 2013 1:50 pm

If the Live instances/bytes value is zero, the profiler has most likely failed to import the memory dump. If the memory dump is created at a bad time, e.g. when instances are being moved in memory by the garbage collector, then the profiler may not be able to retrieve information about managed instances. Unfortunately, the profiler does not currently detect this, and will present the imported dump as an empty snapshot. There will always be a risk that a memory dump cannot be imported by the profiler, but we will try to detect this and at least present a message to the user in a future version.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests