As Developers, we usually wonder about what's the memory layout or memory map of our applications, bearing that in mind I wrote "Memory Inspector", which is a 64 bit application (Executable + Win32 DLL) hosted inside Visual Studio 2010 (32 bit) via an AddIn and Interop. The core of the solution is a native Win32 DLL which returns information to the managed world as XML that's consumed from WPF. The memory Inspector can perform the following tasks:
The information collected is in XML so it can be also used for:
I've got a roadmap for this tool, and in a future release I would like to incorporate calls toSOS for helping developers to deal with memory leak issues.
The installation is simple, but please remember to install it to the%UserProfile%\My Documents\Visual Studio 2010\AddInsfolder.
It's highly recommended to run it as "admin", so the tool can have access to system processes. If it's launched from Visual Studio, running Visual Studio as an "admin" will do.
The source code can be found athttp://memoryinspector.codeplex.com
Hope this helps,