i moved one view controller to another view controller again i came back previous screen,i am doing this job more than 10 time finally debugger showing "Message from debugger: Terminated due to memory issue",app is crashed. Communications error: { count = 1, contents = "XPCErrorDescription" => { length = 22, contents = "Connection interrupted" } }>
Asked
Active
Viewed 6,124 times
1
-
Instruments Memory Leaks, try to find what's your issue. – Larme Nov 02 '15 at 13:46
-
You have memory leak probably. Use "Instruments" profiler with "memory leak" template to check. – user996142 Nov 02 '15 at 13:47
-
Possible duplicate: http://stackoverflow.com/questions/19203790/is-it-possible-to-debug-terminated-due-to-memory-error – user996142 Nov 02 '15 at 13:48
-
How are you moving to the next controller, and how are you moving back? It's impossible to answer this without more details. – jrturton Nov 02 '15 at 13:51
-
dispatch_async(dispatch_get_main_queue(), ^ { ListViewMap *LVM=[[ListViewMap alloc] init]; [self.navigationController pushViewController:LVM animated:YES]; }); – Mano Nov 02 '15 at 14:10
-
Try just, ListViewMap *LVM=[[ListViewMap alloc] init]; [self.navigationController pushViewController:LVM animated:YES]; – DilumN Nov 02 '15 at 14:25
-
Message from debugger: Terminated due to memory issue – Mano Nov 02 '15 at 14:35