0

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: error).

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

mm24
  • 9,280
  • 12
  • 75
  • 170

1 Answers1

1

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.

Community
  • 1
  • 1
fabian789
  • 8,348
  • 4
  • 45
  • 91
  • thanks for your answer. I am developing a game with 3 texture atlas and 2 different caf file interleaving each other and I am a bit confused on how to keep the memory down.. You said 15-20 MB, is this typical also for games? – mm24 Jun 13 '12 at 15:07
  • 1
    @mm24 I don't know, I only develop utility/productivity apps. But I think it you should keep it in that range as well. As for your texture problems, I cannot help you, but I suggest you ask another question here! – fabian789 Jun 13 '12 at 16:11
  • thanks for your help. I accepted the question as I think answers well. I am now playing with textures and prepearing a more specific question on this. One step at the time and I hope to figure things out :). Thanks! – mm24 Jun 13 '12 at 16:57