home.social

Michael A. Murphy :system76:

  1. 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

  2. If you're experienced with and want to build a application, checkout out the cosmic-app-template[0] and check out our documentation[1]. We would appreciate any help with API improvements and documentation.

    [0] github.com/edfloreshz/cosmic-a
    [1] pop-os.github.io/libcosmic/cos