News for hackers. Stuff that matters.
Re:So We've Got a Memory Leak by jrockway on Saturday May 11, 2024 @04:38PM (#40330499)
I'm OK with people using the expression "memory leak" to mean "unbounded growth in heap size over time". The case that I see most frequently is a routine that's set up like "use some memory, wait until an event that never happens happens, free memory". Technically if you let time run indefinitely, the memory would be freed. But since memory is finite, eventually you run out and your program crashes, which is annoying in this case.

There are no comments on this comment yet.