Wednesday, April 20, 2011

Hook into another application to watch memory usage

I just started writing an application that I would like to use to attach to any running process, and get notified when it allocates or deallocates memory. I already created the interface so I can select from a list of running processes, but I don't really know how to hook into that process to get the information I'm looking for.

This is my first "real" C# application, so I'm still learning my way around. I would like to use this application to test for memory leaks in other applications, it will just be a personal tool (and a learning experience) so it doesn't have to be perfect.

Any help would be greatly appreciated, Thanks.

From stackoverflow

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.