logoalt Hacker News

Jemalloc un-abandoned by Meta

160 pointsby hahahacorntoday at 6:12 PM44 commentsview on HN

https://github.com/jemalloc/jemalloc


Comments

bmenrightoday at 6:40 PM

I recently started using Microsoft's mimalloc (via an LD_PRELOAD) to better use huge (1 GB) pages in a memory intensive program. The performance gains are significant (around 20%). It feels rather strange using an open source MS library for performance on my Linux system.

There needs to be more competition in the malloc space. Between various huge page sizes and transparent huge pages, there are a lot of gains to be had over what you get from a default GNU libc.

show 10 replies
bfgeektoday at 6:43 PM

One has to wonder if this due to the global memory shortage. ("Oh - changing our memory allocator to be more efficient will yield $XXM dollar savings over the next year").

show 5 replies
dangtoday at 6:41 PM

Related. Others?

Jemalloc Postmortem - https://news.ycombinator.com/item?id=44264958 - June 2025 (233 comments)

Jemalloc Repositories Are Archived - https://news.ycombinator.com/item?id=44161128 - June 2025 (7 comments)

xxstoday at 7:22 PM

Few months back, some of the services switched to jemalloc for the Java VM. It took months (of memory dumps and tracing sys-calls) to blame the JVM, itself, for getting killed by the oom_killer.

Initially the idea was diagnostics, instead the the problem disappeared on its own.

RegnisGnawtoday at 6:54 PM

Is there a concise timelime/history of this? I thought jemalloc was 100% open source, why is Meta in control of it?

show 2 replies
nubinetworktoday at 6:53 PM

Someone should tell Bryan Cantrill, he'd probably be ecstatic...

thatoneengineertoday at 6:30 PM

First impressions: LOL, the blunt commentary in the HN thread title compared to the PR-speak of the fb.com post.

Second thoughts: Actually the fb.com post is more transparent than I'd have predicted. Not bad at all. Of course it helps that they're delivering good news!

show 1 reply
markstostoday at 6:41 PM

How is the original author making out in the new arrangement?

show 2 replies
flykespicetoday at 7:14 PM

Jemalloc is used by android bionic libc library

show 1 reply
charcircuittoday at 6:47 PM

Meta never abandoned jemalloc. https://github.com/facebook/jemalloc remained public the entire time. It's my understanding that Jason Evans, the creator of jemalloc, had ownership over the jemalloc/jemalloc repo which is why that one stopped being updated after he left.

show 1 reply
fermentationtoday at 6:33 PM

Seems like they’d want to wait to commit until after the layoffs, right?

show 2 replies
rgupta1833today at 6:31 PM

[dead]

lesscrafttoday at 7:34 PM

[dead]

otterleytoday at 6:34 PM

[dead]

oncallthrowtoday at 6:31 PM

And the Oscar for most mealy-mouthed post of the year goes to…

show 1 reply