iPhone real memory climbs when interacting with UI

Posted by Scott Gress on Stack Overflow See other posts from Stack Overflow or by Scott Gress
Published on 2010-05-19T20:35:06Z Indexed on 2010/05/19 20:40 UTC
Read the original article Hit count: 127

Filed under:
|
|
|

I've been using the Activity Monitor to check the memory usage of my iPhone apps. I've noticed that the Real Memory climbs whenever I interact with the UI in any way, even if there's no code being called.

For example, I can create a brand new View-Based application and run it, and as I click or drag in the empty window the Real Memory increases even though the app isn't responding in any way. I get that the view controller is doing some stuff in the background to interpret my interactions, but it seems like the memory should go back down after a second or so. Instead, it keeps going up and up and up as long as I keep clicking or dragging. I can wait forever and it never decreases.

This is a little disturbing. Am I missing something?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about memory