[Top][All Lists]

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

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

From: Brian Gough
Subject: [Help-gsl] Re: [Bug-gsl] memory leak problem with matrices
Date: Fri, 21 Sep 2007 14:41:48 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Thu, 20 Sep 2007 10:34:21 -0600,
Sergey Plis wrote:
> Thanks! I see the line in the documentation:
> Occasionally, |free| can actually return memory to the operating system 
> and make the process smaller.
> Do you know if I can force the occasional part to happen always? 
> Actually, only then, when I am sure that I do not need this memory 
> anymore and want to prevent swapping?

Maybe the source to malloc in the GNU C Library can help you.  As I
think you found, using mmap() is another way to access large amounts
of memory.

Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals ---

reply via email to

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