I'm developing some process listing software, and I need to know how much memory each process consumes. I need a clean and small solution for this. Listing the processes and threads etc. is no problem, it's just getting the memory usage information. If you have a solution not based on the performance monitoring objects, that would be preferred, but if it's small and easy it doesn't matter that much.