iPhone: starting activity monitor for a different party app
I am unable to start the activity monitor on a different party app. When I choose target it says "Target failed to run: Remote exception encoutered" (see screenshot: ).
Does anyone know how to measure it? The whole point of doing this is that I am having some memory warnings and I wanted to understand what is the average memory that can be allocated by an App on an 4th+ gen iPhone without encountering warnings.
You cannot profile 3rd party apps. As for the average memory that can be allocated: Apple does not specify any hard data. Personally, I try to stay below 15 - 20 MB. The memory needed for your app to be killed might however vary from device to device, from iOS version to iOS version and also from how many other apps are currently using memory.