PSA to and developers: there is a long-standing bug in the system allocator (glibc malloc) which causes it to hoard large sbrk buffers in arenas. By default, it uses heuristics to dynamically increase the mmap threshold—the point where it switches from using sbrk to mmap. In some scenarios, these larger buffers are never trimmed, causing a memory "leak". Some apps were affected, causing as much as 10-30x memory usage. To fix, see the PR below:

github.com/pop-os/cosmic-bg/pu

0
0
0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/mmstick/statuses/113952008189644564 on your instance and quote it. (Note that quoting is not supported in Mastodon.)