2014-09-08 5 views
-1

Il s'agit de fuites de mémoire. Pouvez-vous s'il vous plaît me dire comment résoudre ces problèmes? L'application se bloque à cause de problèmes.Fuites de mémoire dans l'application

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

Qu'avez-vous déjà essayé? Rechercher, rechercher, lire des documentations et des articles sur les fuites de mémoire? – Neeku

+1

J'ai trouvé des fuites de mémoire, mais incapable de les résoudre – user3614885

+1

Avez-vous activé les objets Zombie? –

Répondre

-1

Je pense qu'il ya quelque chose dans le fichier alloué SCNetworkReachability (fonction SCNetworkReachabilityCreateWithAddress). Mais n'est pas si clair était de votre journal. Êtes-vous capable d'isoler le code où vous utilisez Reachability? Utilisez-vous ARC dans votre code?

+1

Oui but using Arc – user3614885

+1

Actuellement j'utilise AFNetworking API pour obtenir des images du serveur – user3614885

+0

Est le fichier SCNetworkReachability votre propre dossier ou est le dossier d'Apple où vous pouvez comprendre l'état du réseau (wi-fi connecté ou non exemple). Lorsque vous avez cette erreur? Lorsque vous envoyez ou recevez les images du serveur? – Lorenzo