How to measure the memory usage of a program?

Printable View