Game Development Community

how do i check memory consumption in a Mac ?

by Bruno · in Torque Game Builder · 04/16/2009 (1:01 pm) · 5 replies

Hi,

In windows, we just press CTRL+ALT+DEL, and check how much memory our game is taking.
Is there a similar way to check the same thing in Mac OS ?

thanks,
Bruno

#1
04/16/2009 (1:04 pm)
It supports many common UNIX commands, such as 'top'.
#2
04/16/2009 (3:52 pm)
Thanks, and, how i go about using Unix commands here ?
#3
04/16/2009 (4:00 pm)
If you're unfamiliar with Unix, you could use /Applications/Utilities/Activity Monitor.app.
#4
04/16/2009 (6:07 pm)
Or try using the shark application. That is especially good for when you want to find out how much memory an entire action does.
#5
04/17/2009 (10:59 pm)
Click Spotlight (the magnifying glass in the upper right corner) and start typing the name of a program. "Act" should list Activity Monitor, for example. If you're just looking for peak memory usage, this should be sufficient.

Shark is best to launch from within Xcode, if you want in-depth information.