[Top][All Lists]

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

Re: dl_malloc

From: Daniel Diaz
Subject: Re: dl_malloc
Date: Fri, 13 Oct 2000 17:21:01 +0200

Thanks to Jesper Eskilson <address@hidden> and Per Mildner 
<address@hidden> for the hint about mallopt. I add this to my code 

address@hidden said:
> Daniel,
> There is a better solution to this. GLIBC has a function mallopt()
> which can be used to set parameters for malloc(). One of the
> parameters is M_MMAP_MAX, which sets the maximum number of chunks to
> allocate with malloc(). Thus, the call
>         mallopt(M_MMAP_MAX, 0)
> disables all use of mmap() in malloc().

> Regards,

> /Jesper

                 Daniel Diaz
University of Paris 1      INRIA Rocquencourt
   75013 Paris           78153 Le Chesnay Cedex
     FRANCE                     FRANCE
        email: address@hidden

reply via email to

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