---
title: "What do you understand about Memory Leak in Objectice-C?"  
description: "What do you understand about Memory Leak in Objectice-C?"  
author: "Tarun Kumar"  
published: 2015-10-01  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/22850/what-do-you-understand-about-memory-leak-in-objectice-c  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# What do you understand about Memory Leak in Objectice-C?

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.

## Answers

### Answer by Tarun Kumar

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.


---

Original Source: https://www.mindstick.com/interview/22850/what-do-you-understand-about-memory-leak-in-objectice-c

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
