2012-04-26 2 views
0

시뮬레이터에서 정상적으로 작동하지만 기기에서 충돌하는 샘플 앱이 있습니다. Organizer에서 콘솔에 다음 출력을 얻습니다. 짧은 시간 내에 충돌합니다.iOS 메모리 충돌이 적지 만 메모리가 매우 부족함 - 기기로 검사 됨

악기를 사용하면 메모리 누수가 발생하며 메모리 사용량이 약 2-3MB입니다. 메모리 할당을 사용하면 약 8-9MB의 메모리 할당과 VM 추적기가 없습니다.

콘솔 출력은 다음과 같습니다. 아무도 친절하게 무엇을 할 것을 제안 할 수 있습니까?

pr 26 11:46:37 unknown SpringBoard[15] <Warning>: Memory level is not normal (2). Delaying auto-relaunch of 'com.apple.mobilemail' for 30 seconds. 
    Apr 26 11:46:44 unknown SpringBoard[15] <Warning>: No valid 'aps-environment' entitlement string found for application 'SampleApp': (null). Notifications will not be delivered. 
    Apr 26 11:46:44 unknown SampleApp[14834] <Warning>: unique id: //someID 
    Apr 26 11:46:45 unknown SampleApp[14834] <Warning>: Failed to get token, error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x2322ae {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application} 
    Apr 26 11:46:46 unknown UserEventAgent[12] <Notice>: jetsam: kernel termination snapshot being created 
    Apr 26 11:46:46 unknown com.apple.debugserver-64[14833] <Warning>: 1 [39f1/1303]: error: ::read (4, 0x2ff389d4, 1024) => -1 err = Bad file descriptor (0x00000009) 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Notice>: (com.apple.atc) Exited: Killed: 9 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.fun.SampleApp.ios[0x2344]) Bug: launchd_core_logic.c:3730 (25147):3 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.fun.SampleApp.ios[0x2344]) Assuming job exited: <rdar://problem/5020256>: 10: No child processes 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.fun.SampleApp.ios[0x2344]) Job appears to have crashed: Segmentation fault: 11 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Notice>: (com.apple.mediaserverd) Exited: Killed: 9 
    Apr 26 11:46:46 unknown com.apple.launchd[1] <Notice>: (com.apple.ubd) Exited: Killed: 9 
    Apr 26 11:46:47 unknown kernel[0] <Debug>: launchd[14836] Builtin profile: mediaserverd (sandbox) 
    Apr 26 11:46:48 unknown lockdownd[21] <Error>: 2ffd4000 _receive_message: walk away - non-SSL 1 
    Apr 26 11:46:48 unknown com.apple.mobile.lockdown[21] <Notice>: receive secure message timeout! 
    Apr 26 11:46:48 unknown ReportCrash[14838] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-04-26-114648.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0 
    Apr 26 11:46:49 unknown mediaserverd[14836] <Error>: 11:46:49.618590 com.apple.AVConference: /SourceCache/GameKitServices/GameKitServices-344.3/AVConference.subproj/Sources/AVConferenceServer.m:1862: AVConferenceServerStart aborting - device doesn't support conferencing 
    Apr 26 11:46:49 unknown SpringBoard[15] <Warning>: Application 'SampleApp' exited abnormally with signal 11: Segmentation fault: 11 
    Apr 26 11:46:52 unknown atc[14835] <Warning>: Error: Connection invalid 
    Apr 26 11:46:53 unknown wifid[27] <Error>: WiFi:[357158813.1212122]: Client itunesstored is background application 
    Apr 26 11:47:07 unknown SpringBoard[15] <Warning>: Memory level is not normal (2). Delaying auto-relaunch of 'com.apple.mobilemail' for 30 seconds. 
    Apr 26 11:47:37 unknown SpringBoard[15] <Warning>: Memory level is not normal (2). Delaying auto-relaunch of 'com.apple.mobilemail' for 30 seconds. 
    Apr 26 11:48:07 unknown SpringBoard[15] <Warning>: Memory level is not normal (2). Delaying auto-relaunch of 'com.apple.mobilemail' for 30 seconds. 
    Apr 26 11:48:37 unknown SpringBoard[15] <Warning>: Memory level is not normal (2). Delaying auto-relaunch of 'com.apple.mobilemail' for 30 seconds. 
    Apr 26 11:48:49 unknown SpringBoard[15] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0 
+0

좋습니다. 따라서 시뮬레이터에서 프로파일 링을 시도했습니다. 어떤 시점에서, 2-3 메가 바이트로 돌아 가기 전에 70-80 MB가 필요하다고 생각됩니다 .... – Ahsan

+0

또한 VM 추적기를 사용하는 더티 또는 거주자가 아닙니다. – Ahsan

답변

0

좋아, 그래서 모든 것이 잘처럼, 난 그냥 꽤 이상한 ...를 아이 패드에서 응용 프로그램을 삭제하고 다시 설치하는 데 필요한 것 같습니다 ...!

관련 문제