‹ BackHN Continuity

Thread

Jemalloc 5.4.0

339 points · 94 comments · gkfasdfasdf

  1. ZenoArrow · · focus · HN ↗
    Why is this on the HN front page? Is there something particularly noteworthy about this release?
    1. baq · · focus · HN ↗
      jemalloc is something you should be aware of if you do software for a living
      1. stackghost · · focus · HN ↗
        In the Before Times, the vast majority of software was written in garbage collected language where a working knowledge of the relative merits of C memory allocators is not useful or particularly relevant.

        Why would the scads of people writing JavaScript, Java, python, go, rails, etc need to be aware of jemalloc?

        1. nh2 · · focus · HN ↗
          Memory allocation behaviour has visible impact also for users of managed languages, and the behaviour of software for end users.

          In our Python program, a bit of numpy processing of large pictures led to 100 GB not being returned to the OS by glibc's default allocator and the machine running out of memory shortly after. With jemalloc's reliable memory return settings, those problems disappear.

          1. stackghost · · focus · HN ↗
            Okay but do you think the hordes of JavaScript developers at FANG can just change the browser’s allocator?

            The number of programmers who are in positions to care about jemalloc vs other malloc is minuscule

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.