Link to home
Start Free TrialLog in
Avatar of sfun28
sfun28

asked on

Debugging unmanaged memory usage in .net app

Hi Experts - I have a leak in unmanaged memory (private bytes continue to go up over time while .net # bytes in all heaps is very low and constant).  I can cause the private bytes to rise by calling a method which itself calls many different methods.  I can't find a good approach to debug this.  It seems like I would simply need to inspect the memory beforehand and then after and see what the difference is and what component is causing the difference.

I've tried windbg and debugdiag but can't get them to do what i want.  Please help!
ASKER CERTIFIED SOLUTION
Avatar of Jason Evans
Jason Evans
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sfun28
sfun28

ASKER

the first link is the best resource i've seen so far, but that said it covers a very narrow scoped case.  I've spent hours researching this and i have yet to find a good article on this topic.

closing out this thread.
Avatar of sfun28

ASKER

Thanks for helping.  per my comment, there doesn't seem to be a great resource for this