Re: Help - Memory Leak Issue with SCSI Stack on Linux

From: John-Paul Stewart (jpstewart_at_binaryfoundry.ca)
Date: 08/30/04


Date: Mon, 30 Aug 2004 15:39:55 -0400

L wrote:
>
> Since '-/+ buffers/cache' is the real amount of memory been used, why does it
> increase from 155 to 221 during the test? Can we say there is a memory leak
> some where based on the numbers?

No. All you've done is show that some memory is used during the test
and that amount grows over time. Does the used memory continue grow as
long as the test runs? Leave the test running in an infinite loop if
you can, while periodically checking memory use. If the test eventually
uses up all memory, then that *might* indicate a leak. On the other
hand, for all I know, the memory used could just be for the test program
to track test results!

To be quite frank, I've seen absolutely no evidence of a memory leak,
nor even any abnormal behaviour. Might I ask, why are you so concerned
about a memory leak? Is there more evidence (system crash, out of
memory messages, anything) to indicate a problem? From what I've seen,
it looks like you're trying to track down a memory leak that doesn't exist.



Relevant Pages

  • [NT] Services for UNIX 2.0 Suffer from a Remotely Triggered Memory Leak
    ... Services for UNIX 2.0 Suffer from a Remotely Triggered Memory Leak ... 2000 are not affected by the vulnerability. ... * A vulnerability that could enable an attacker to cause the NFS service ...
    (Securiteam)
  • RE: Memory increasing even when in debug-break
    ... there are 2 types of memory leak in .Net: ... More interesting is the debugger breaks while memory still increasing ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.debugging)
  • Re: Memory leak in the Driver
    ... will it also work for device driver ??? ... if the following application is used then, there is no memory leak. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Memory Leak
    ... Regarding .Net memory leak issue, an important step is determing if it is ... should not use the "Mem Usage" column in task manager which is misleading. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Memory Leak
    ... managed leak or unmanaged memory leak. ... should not use the "Mem Usage" column in task manager which is misleading. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.csharp)