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 
Ratings:
 1 Answer(s)
  449  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
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