memory leak
Sign in to saveAlso known as Missing Release of Memory after Effective Lifetime, leaking memory, memleak
type of resource leak that occurs when a computer program incorrectly manages memory allocations
Wikidata facts
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/memory-leaks
Sources (3)
via Wikidata · CC0
~16 min read
Article
In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in a way that memory which is no longer needed is not released. A memory leak may also happen when an object is stored in memory but cannot be accessed by the running code (i.e. unreachable memory). A memory leak has symptoms similar to a number of other problems and generally can only be diagnosed by a programmer with access to the program's source code.
A related concept is the "space leak", which is when a program consumes excessive memory but does eventually release it.