Daily iOS
Memory and ARC

Impact of memory leaks

What is a memory leak?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

A leak is memory you no longer use that never gets freed and stays occupied for as long as the app runs. On iOS the main causes are objects whose deinit never runs because of a reference cycle, observers that were never removed, and caches with no limit.

Share a question