How can I find the Memory usage by the Processor?

Dear all,
I want to know, the Memory conception of my code. We can find that by using the MAP file which is generated by the compiler. Any other option are there to find out the memory consumed by the program.

Thank you…