-2

Is there a way to know the size of memory space allocated by an application on iPhone or iPad via objective-c code? This is just to know how much memory my application is allocating space in RAM during run time.

Thanks.

Maystro
  • 2,907
  • 8
  • 36
  • 71

1 Answers1

-1

You can use Instruments by apple themselves if you don't want to put extra code in your app.

https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/Introduction.html

This is just an example of doing this without the code.

StigPing
  • 197
  • 13