Home > DeveloperSection > Interviews > What do you understand about Memory Leak in Objectice-C?

Posted on    October-01-2015 12:21 AM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  645  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    October-01-2015 12:21 AM

Memory leaks are blocks of allocated memory that the program no longer references. Leaks wastes paceby filling up pages of memory with inaccessible data and waste time due to extra paging activity. Leaked memory eventually forces the system to allocate additional virtual memory pages for the application, the allocation of which could have been avoided by reclaiming the leaked memory, also we can say that in other words Retaining And Releasing are not properly used then RetainCount for AnObject doesn’t reach 0. It doesn’t crash the application.

Don't want to miss updates? Please click the below button!

Follow MindStick