Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brat2

macrumors newbie
Original poster
Feb 18, 2009
13
0
Hi

I am using mach.h to count memory usage of my iPhone application

I am just visualizing a counted value via UILabel on the top.

The point I do not understand is the following:

At the simulator allocated memory is released perfectly (value is growing up and at proper moment is falling down), but on real device it is not ! I run the same code on the device and memory usage value is growing up without falling down !

As a result on real device my application throws memory warrning in some minutes (((.
On simulator application is stable


Why is it so ? What's wrong ?

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.