This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Malloc not trimming sbrk space once it fills up


Hi,

> The attached testcase shows that once morecore fails for the first time
> and malloc needs to fall back into mmap arena, no more sbrk trimming
> happens even if all chunks in mmap areas are freed.

Thanks for the testcase, but this is to be expected.

Do you think this course of events is common enough to warrant a
change?

I'll take a look whether it can be changed easily.

Regards,
Wolfram.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]