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 member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1462853 Title: Free list can store enormous amounts of memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1462853/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs