How do you know how much memory your computer uses?

How do you find out how much memory an application is using during the running of a programme?
7 answers 7