Re: Memory Leaks?

From: Tim Slattery (Slattery_T_at_bls.gov)
Date: 02/28/05


Date: Mon, 28 Feb 2005 12:24:01 -0500


"Tony Penaherrera" <gismodfw@advantexmail.net> wrote:

>What is memory leak? Does it ever leak? What cause memory to leak? Someone
>had asked me yesterday and I wasn't able to give him a clear answer.

It's a programming mistake. Programs constantly obtain memory from the
operating system. Generally, when they finish with it they are
supposed to return it. If a program asks for memory but doesn't return
it when it finishes with it, the memory has "leaked". If this keeps
up, eventually the program will ask for memory and be told that there
isn't any.

-- 
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov


Relevant Pages

  • Re: Memory Leaks?
    ... "Tim Slattery" wrote: ... > It's a programming mistake. ... > operating system. ... If a program asks for memory but doesn't return ...
    (microsoft.public.windowsxp.general)
  • Re: JVM Sizing
    ... Tim Slattery wrote: ... address up to 2^34 GB of memory. ... I agree there's no reason to go all the way to 64-bits at this ... John W. Kennedy ...
    (comp.lang.java.programmer)
  • Re: JVM Sizing
    ... Lew wrote: ... address up to 2^34 GB of memory. ... Tim Slattery wrote: ... I agree there's no reason to go all the way to 64-bits at this ...
    (comp.lang.java.programmer)
  • Re: Memory Leak
    ... A memory leak is caused by an improperly coded program that keeps consuming ... "Tony Penaherrera" wrote in message ...
    (microsoft.public.windowsxp.general)
  • Re: low memory problem
    ... I got a vista system running herewith just ... 512MB of RAM and has never run low on memory. ... Tim Slattery ...
    (microsoft.public.windows.vista.general)