4

My app gets killed due to "per-process-limit", however what I see in profiler is quite low

enter image description here

Do I understand right that the value Im interested in is "Live Bytes" and not "Overall Bytes" ?

In device crash log I see following line:

Name rpages recent_max [reason] (state)

MyApp 167076 167076 [per-process-limit] (frontmost) (resume)

RobP
  • 9,144
  • 3
  • 20
  • 33
  • OK, if I NSLog current memory usage it prints 60 MB which seems more like a truth, so the question is what "Live Bytes" and "Overall Bytes" are showing? – Aleksandr Nikiforov Apr 09 '14 at 07:45
  • Live bytes show the currently allocated bytes and overall shows how much in the lifetime of the app was allocated – Volker Apr 09 '14 at 07:48

1 Answers1

1

those numbers depends largely on the filters you've set up, which we can't see from the screenshot.

regardless of that however, you should depend on the Resident Size of the VM Tracker instrument to get a real handle on the memory usage of your app.

the most crucial difference between the two is that Resident Size actually includes all of the memory used by your UIView's backing store for the actual pixel data.

see this post for more.

Community
  • 1
  • 1
calql8edkos
  • 429
  • 4
  • 13