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]

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.

	Jakub

Attachment: tst-malloc-trim.c
Description: Text document


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