Memory leak



programming
A leak in a program’s dynamic store allocation logic that causes it to fail to reclaim memory in the heap after it has finished using it, eventually causing the program to fail due to lack of memory.
These problems were severe on older machines with small, fixed-size address spaces, and special “leak detection” tools were written to diagnose them.
The introduction of virtual memory made memory leaks a less serious problem, although if you run out of virtual memory, it means you’ve got a *real* leak!
See aliasing bug.
[Jargon File]
(2003-10-07)

Tagged:

Read Also:

  • Memory location

    storage A byte, word or other small unit of storage space in a computer’s main memory that is identified by its starting address (and size). (1999-04-19)

  • Memory management

    memory management, storage A collection of techniques for providing sufficient memory to one or more processes in a computer system, especially when the system does not have enough memory to satisfy all processes’ requirements simultaneously. Techniques include swapping, paging and virtual memory. Memory management is usually performed mostly by a hardware memory management unit. (1995-01-23)



  • Memory management unit

    hardware, memory management (MMU, “Paged Memory Management Unit”, PMMU) A hardware device or circuit that supports virtual memory and paging by translating virtual addresses into physical addresses. The virtual address space (the range of addresses used by the processor) is divided into pages, whose size is 2^N, usually a few kilobytes. The bottom N bits […]

  • Memory mapping

    noun 1. a technique whereby computer peripherals may be addressed as though they formed part of the main memory of the computer



Disclaimer: Memory leak definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.