Simbul/baker — Issue #323: Memory Issue in iPad 1
Author: nruffilo
Created: 2012-02-22 18:09:20+00:00
State: open

We have fairly large book (40+ pages, total of 150 MB for the project, mainly due to 100 megs of audio that is on an activity we have).

But, it works wonderfully on iPad 2. For iPad 1, it fails. After running on device in debug mode, I have the following:

The app ALMOST opens, then fails (crashes). Any thoughts on how to fix this? No one page is more than 2-3 megs at a time.

Feb 22 12:59:19 Test-iPad1 YFEB[136] : • Show page details for the book pages
Feb 22 12:59:19 Test-iPad1 YFEB[136] : Unlock page changing
Feb 22 12:59:21 Test-iPad1 SpringBoard[28] : Received memory warning. Level=1
Feb 22 12:59:22 Test-iPad1 configd[25] : jetsam: kernel memory event (91), free: 456, active: 3532, inactive: 1859, purgeable: 0, wired: 12264
Feb 22 12:59:22 Test-iPad1 SpringBoard[28] : Received memory warning. Level=2
Feb 22 12:59:23 Test-iPad1 configd[25] : jetsam: kernel termination snapshot being created
Feb 22 12:59:23 Test-iPad1 com.apple.launchd[1] (UIKitApplication:com.YFEB[0xf1b0][136]) : (UIKitApplication:com.YFEB[0xf1b0]) Bug: launchd_core_logic.c:3795 (24506):0
Feb 22 12:59:23 Test-iPad1 com.apple.debugserver-50[135] : 1 [0087/1503]: error: ::read ( 4, 0x2ffcf9f0, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Feb 22 12:59:23 Test-iPad1 com.apple.launchd[1] (UIKitApplication:com.YFEB[0xf1b0][136]) : (UIKitApplication:com.YFEB[0xf1b0]) Bug: launchd_core_logic.c:3794 (24506):3
Feb 22 12:59:23 Test-iPad1 com.apple.launchd[1] (UIKitApplication:com.YFEB[0xf1b0][136]) : (UIKitApplication:com.aerbook.YFEB[0xf1b0]) Bug: launchd_core_logic.c:3202 (24506):10
Feb 22 12:59:23 Test-iPad1 com.apple.launchd[1] (UIKitApplication:com.YFEB[0xf1b0][136]) : (UIKitApplication:com.YFEB[0xf1b0]) Working around 5020256. Assuming the job crashed.