Can i do that? or It's a private API?
+1
A:
You can get the total memory usage of your app and total free memory in the system with the code posted in this other question.
Of course, free memory varies depending on what background processes are running at the time and what's in the autorelease pool(s) at the moment, but it does give you some idea.
progrmr
2010-06-17 14:50:24