[Bug 1462853] Re: Free list can store enormous amounts of memory

2015-06-11 Thread Sworddragon
Executing "MALLOC_MMAP_THRESHOLD_=1024 ./test" results that ~1.8 GiB are in use. A little less than before but still too much. Using 0 as threshold causes the same result. ** Changed in: glibc (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a membe

[Bug 1462853] Re: Free list can store enormous amounts of memory

2015-06-09 Thread Seth Arnold
Try various values of MMAP_THRESHOLD environment variable; I suspect if you sets MMAP_THRESHOLD to something like 1024 bytes all the memory will be appropriately freed and returned to the OS when you hit the pause(). Thanks ** Changed in: glibc (Ubuntu) Status: New => Incomplete -- You r

[Bug 1462853] Re: Free list can store enormous amounts of memory

2015-06-08 Thread Sworddragon
I have now forwarded this issue to upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=18504 ** Bug watch added: Sourceware.org Bugzilla #18504 http://sourceware.org/bugzilla/show_bug.cgi?id=18504 -- You received this bug notification because you are a member of Ubuntu Bugs, which is su

[Bug 1462853] Re: Free list can store enormous amounts of memory

2015-06-08 Thread Sworddragon
** Description changed: I'm using Ubuntu 15.10 dev (x86_64) with libc6 2.21-0ubuntu4 and I have noticed that the free list can store a huge amount of memory and on analyzing this and reading manpages I have found some strange things. First here is a testcase to reproduce this issue (compil