- Joined
- Jan 1, 2009
- Messages
- 15,512
- Reaction score
- 3,876
- Points
- 113
- Location
- Winchester, VA
- Your Mac's Specs
- MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
I saw where you opened a thread there, but the three older references were all to a problem a long time ago.Couldn't find it, it was just referred to.
"Memory leak" is what happens when a bit of code in an app asks for memory to be allocated for some function, then when that function is complete it does NOT release that memory back for it to be reused. So, as the app runs and that code continues to execute, memory is consumed by being tied up, although not really being used.
Imagine a parking lot where you have to reserve a spot. If a car arrives and asks for a spot, gets it, and then leaves without releasing that spot, returns and asks for another spot, gets it, now it has two spots reserved. Now repeat that sequence a couple of hundred times, never releasing a reserved spot. Eventually the entire parking lot ends up being reserved, but might be totally empty because the one car never released the reservation on any of the spots it reserved. That's a memory leak.