apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@apache.org>
Subject Re: reducing memory fragmentation
Date Sun, 20 Feb 2011 17:42:43 GMT

On Feb 19, 2011, at 2:57 PM, Stefan Fritsch wrote:
> 
> I am sure that apr_allocator with mmap is not an advantage on all 
> platforms. Actually, apr allocating only multiples of 4k should make 
> it easier for malloc to avoid fragmentation. But glibc's malloc fails 
> miserably in that regard.
> 

Is there a way during configuration time that we can do
some rough testing on "best" multiple to use...?


Mime
View raw message