Malloc not trimming sbrk space once it fills up
wmglo@dent.med.uni-muenchen.de
wmglo@dent.med.uni-muenchen.de
Wed Jan 7 18:29:00 GMT 2004
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.
More information about the Libc-hacker
mailing list