bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] memory leak problem with matrices


From: Brian Gough
Subject: Re: [Bug-gsl] memory leak problem with matrices
Date: Thu, 20 Sep 2007 16:55:32 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Wed, 19 Sep 2007 20:57:33 -0600,
Sergey Plis wrote:
> What I see is the following:
> When two programs are run in sequence with first having the memory freed 
> before the second even starts, I do not see the memory being reclaimed - the 
> system !!!swaps!!! I believe, swapping is a good sign of trouble here.

Hello,

This is normal behaviour, free() makes memory available for reuse by
the same process, it does not return it to the operating system.  See
the description of the free() function in the "GNU C Library Reference
Manual" for more details -- it is a great resource.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]