2011-04-14 77 views
0

我發佈的應用程序(隱藏的倫敦 - 免費應用程序)已報告稱在iPod touch第二代和第三代產品崩潰。它在iPhone和iPad上沒有問題。應用程序在iPod Touch第一代和第二代崩潰

崩潰日誌如下:

Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Builtin profile: container (sandbox) 

Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Container: /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9 [69] (sandbox) 

Wed Apr 13 09:03:40 unknown sandboxd[911] <Notice>: HiddenLondon(908) deny file-write-data /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9/HiddenLondon.app/HiddenLondon.sqlite 

Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.ExtraPlaces 

Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.RemoveAds 

Wed Apr 13 09:03:42 unknown securityd[910] <Error>: OCSPResponse: now + maxAge > latestNextUpdate, using latestNextUpdate 

Wed Apr 13 09:03:42 unknown com.apple.SpringBoard[24] <Notice>: CoreAnimation: timed out fence 500 

Wed Apr 13 09:04:00 unknown HiddenLondon[908] <Warning>: ADBannerView: WARNING A banner view (0x159470) has an ad but may be obscured. This message is only printed once per banner view. 

Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841 

Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel termination snapshot being created 

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.AdSheetPhone[0xabc0]) Exited: Killed 

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.Beutelkind.HiddenLondon[0x2fef]) Exited: Killed 

Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1 

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x736e]) Exited: Killed 

Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1 

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'AdSheet' exited abnormally with signal 9: Killed 

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'HiddenLondon' exited abnormally with signal 9: Killed 

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed 

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Memory level is not normal (56%). Delaying auto-relaunch of 'Mail' for 30 seconds. 

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1 

Wed Apr 13 09:04:33 unknown ReportCrash[917] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-04-13-090433.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0 

誰能幫我先解決爲什麼會在iPod touch上是這樣嗎?

回答

9

暗示爲什麼你的應用程序崩潰是Received memory warning. Level=1。你內存不足。這可能是您的應用程序用於數據結構的RAM的數量,但是當您耗盡圖形內存時(即用於合成視圖和緩存圖像等的內存),我通常會看到這種類型的錯誤。總量在第一代和第二代iPod touch上的RAM只有128MB。第3代和第4代將其提升至256MB。

您的日誌中的內存相關信息以jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841開頭,這是一條「低內存」警告消息。然後您會看到一大堆應用正在被操作系統終止(Exited: Killedexited abnormally with signal 9: Killed)。這是iOS在低內存條件下記錄的行爲 - 它殺死應用程序,直到它有足夠的可用內存。

+0

Odrm - 謝謝你的幫助。我如何進一步解決這個問題 - iPhone 4,iPad和SDK模擬器? – GuybrushThreepwood 2011-04-14 13:09:55

+3

我不相信有替代設備上的測試(請參閱[在iPhone模擬器中設置內存](http://stackoverflow.com/questions/2545847))。但是你可以用'Instruments'作爲啓動器來追蹤內存使用情況...... – odrm 2011-04-14 14:23:36

1

我相信你的應用程序使用了大量的內存,因此它被操作系統所殺死。

相關問題