2014-09-08 6 views
-1

메모리 누수입니다. 이 문제를 해결하는 방법을 알려주시겠습니까? 문제로 인해 앱이 다운됩니다.메모리 누수가 발생했습니다.

Leaked Object # Address Size Responsible Library Responsible Frame 
Malloc 16 Bytes 1 0x169eea00 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x155c2100 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x16a54770 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
_NSUndoStack 1 0x155de700 32 Bytes Foundation -[NSUndoManager init] 
SCNetworkReachability 1 0x16a626c0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x16914f40 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
_UITextUndoManager 1 0x156f52a0 48 Bytes UIKit -[UITextInputController undoManager] 
Malloc 16 Bytes 1 0x1697ef40 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x16a2e4a0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x156007b0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x16ace130 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
NSArray 1 0x155d3990 16 Bytes Foundation -[NSUndoManager init] 
SCNetworkReachability 2 <multiple> 928 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x156eeaf0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x15516dd0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 2 <multiple> 928 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x16961a80 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x15516c00 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x16abea20 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x16a60fa0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x16ac9210 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x156cb670 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x16954490 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x16a1f710 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x16a1db40 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x16961f90 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 2 <multiple> 32 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x16a5f9d0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x1697f2a0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x169911c0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x169cf6c0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 1 0x16a1dc60 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x16960090 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
SCNetworkReachability 1 0x16961dc0 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
Malloc 16 Bytes 2 <multiple> 32 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x156c9d50 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
Malloc 16 Bytes 1 0x1699c6d0 16 Bytes SystemConfiguration SCNetworkReachabilityCreateWithAddress 
SCNetworkReachability 1 0x16a3be60 464 Bytes SystemConfiguration __SCNetworkReachabilityCreatePrivate 
+2

지금까지 해보신 것은 무엇입니까? 검색, 연구, 문서 읽기 및 메모리 누수에 대한 이전 게시물 – Neeku

+1

메모리 누수가 있다고 생각했지만 해결할 수 없음 – user3614885

+1

좀비 오브젝트를 사용 설정 했습니까? –

답변

-1

나는 파일 SCNetworkReachability (기능 SCNetworkReachabilityCreateWithAddress)에 할당 된 무언가가 있다고 생각합니다. 그러나 당신의 기록에서 분명하지 않습니다. Reachability를 사용하는 코드를 격리 할 수 ​​있습니까? 귀하의 코드에서 ARC를 사용하고 있습니까?

+1

예 Arc를 사용하여 목표로 설정 – user3614885

+1

실제로 AFNetworking API를 사용하여 서버에서 이미지 가져 오기 – user3614885

+0

파일 SCNetworkReachability가 자신의 파일인지 또는 Apple의 파일 (Wi-Fi가 연결되었거나 연결되어 있지 않은지)을 이해할 수있는 파일입니다. 이 오류가 발생했을 때? 서버에서 이미지를 보내거나받을 때? – Lorenzo

관련 문제