IPhone app kills due to low memory, although I don’t think so

My iphone application is killed by the system when I launch it on the device. This is what it says in the device console:

Mon May 23 22:17:23 unknown configd[23] <Notice>: jetsam: kernel memory event (90), free: 372, active: 1393, inactive: 1254, purgeable: 39, wired: 9550
Mon May 23 22:17:23 unknown SpringBoard[25] <Warning>: Memory level is urgent (10%) and there are no background apps to ask to exit.
Mon May 23 22:18:25 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0x9229]) Exited: Killed
Mon May 23 22:18:25 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:my.bogusfirm.bogusappname[0xf789]) Exited: Killed

When I launch the application using tools, I have about 1.43 MB of bytes in real time, and the leak check shows about 4 kilobytes of leaked objects, but they leak at the beginning and, apparently, no cumulative leaks occur after that. However, the application may be killed at some point (in a couple of minutes). My application is pretty simple, so about 10 views have been moved back and forth.

My device is the first generation iPhone with 8 GB of memory. I rebooted the device, but this does not help.

Any ideas?

UPDATE : I took care of the leaks and there are no more. However, the application is still killed when working with tools.

+3
source share
2 answers

you need to answer it (and realize what you can), and expect that you will be killed when the system "just needs memory"; it is not related to how little you use.

some devices have very low physical memory and the total memory consumption is uncontrollable.

make sure you keep your memory low, respond to memory alerts, and clear it in viewDidUnload.

, , ( ). ( ).

+1

-, , , , .

, , , . ImageNamed .., , , .

, -, ..

+1

All Articles