Options

Unmanaged Code Memory Leak

OnNomOnNom Posts: 2
edited August 20, 2014 8:23PM in ANTS Memory Profiler 8
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

Comments

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    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 | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.