views:

263

answers:

2

Hi devs! I was tuning my iPhone app before submission to AppStore, when I noticed that Instrument finds a lot of memory leaks if I run in simulator|debug... but if I run it on the Device Instrument doesn't find any one.... To be honest, there were two leaks and I've fixed them. Now no leaks on the Device, but still too leaks on the Simulator.

Who's right??

+1  A: 

Trust in the device.

The simulator will be using a slightly different memory model - always test on the device :)

Sam

deanWombourne
Thank you. You said me what I wanted someone would say to me :D Ahah, I will trust device, simulator has gone crazy! Stop debugging, let's submit :)
kevin
A: 

Did you have NSZombieEnabled set for your simulator build? That will cause a lot of leaks to be reported.

Kendall Helmstetter Gelner