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.

Thanks

Answers


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.

Also, similar questions have been asked here before, like this or this.


Need Your Help

Directed Graph Representation in HTML

javascript java json graph treeview

I have stored a graph in a Java data structure which maps a node to a node list. The graph is more likely a tree structure. I want to represent the graph in a HTML page like a tree view. I can conv...

Is it possible to have one fragment class common to different fragments, all having the same structure?

java android listview android-fragments

I am new to Android development, and I was wondering whether it is possible to have one fragment class common to different fragments all having the same structure (a ListView and a TextView).