Unmanaged Code Memory Leak

Memory profiling for .NET developers

Moderator: dom.smith

Unmanaged Code Memory Leak

Postby OnNom » Mon Aug 18, 2014 10:59 pm

Below are the results of my memory test. I can see the unmanaged code memory allocation increasing from snapshot 1 to snapshot 3 by 19MB. Private Bytes and Working Set are also increasing. However, I am unable to find where in Ants it shows the roughly 19MB of newly allocated RAM. I have "Profile unmanaged memory allocations" enabled. Can someone point me in the correct direction?

Thank you!

Results: https://dl.dropboxusercontent.com/u/133 ... esults.zip
OnNom
 
Posts: 1
Joined: Mon Aug 18, 2014 10:41 pm

Postby jessica.ramos » Thu Aug 21, 2014 1:23 am

Hi there,

Thanks for your post!

Just to clarify, the profiler can only detect unmanaged memory that was allocated by managed code.

From the class list, you can see how much unmanaged memory was allocated by each managed class. From the Summary view in the lower right corner, you can also see a list of the unmanaged modules that memory comes from (and how much memory is allocated to each).

From your results though, the increase in unmanaged memory allocated by .NET code is minimal, so it appears to come mostly from memory allocated by other unmanaged modules which ANTS can't give details on, I'm afraid. :/
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm


Return to ANTS Memory Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests