Delta information at runtime

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Zibbie
Posts: 1
Joined: Fri Sep 22, 2006 9:50 am

Delta information at runtime

Post by Zibbie » Fri Sep 22, 2006 10:04 am

Hi there,

Is there a way to access the delta information (i.e. number of new instances, size of new instances) at runtime ? I mean something like :

MemProfiler.FastSnapShot();
// some lmem leaking action here....
using(MemAssertion.BeginAssertions())
{
MemAssertion.NoNewInstances.Count(1000);
MemAssertion.NoNewInstances.Size(100000);
}

Thanx,

Zbigniew Babiej, Markit Group Ltd.

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

Post by Andreas Suurkuusk » Sun Sep 24, 2006 7:37 pm

Hi,

No, there is currently no way to retrieve delta information from the profiled process.

We had planned to add assertion methods like MaxNewInstances(...) and MaxNewBytes(...) in v3.0 of .NET Memory Profiler, as well as programmatic access to additional snapshot information. However, other features of v3.0 have taken more time to implement than we originally anticipated, so we have to move some planned features to the v3.1 release. This probably includes the additional memory leak assertions.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests