Hacker News
Jemalloc 5.4.0
lordnacho
|next
|previous
[-]
sam_lowry_
|root
|parent
|next
[-]
P.S. I also wondered whether systemd had any cultural reference to Système D aka Système Débrouillard, but Pottering does not seem to be someone engaging in word play, so probably not.
tefkah
|root
|parent
[-]
eliaspro
|root
|parent
[-]
Source: https://brand.systemd.io/
ksec
|next
|previous
[-]
Is Meta still using it and developing it? If not who are the driving force behind it now? I just checked there wasn't a release since 2022 and then we have this now. Something changed?
Just wish we have a little bit of context. But it is also great it is continue being maintained. It makes a huge difference for Ruby on Rails Apps.
skavi
|next
|previous
[-]
rwmj
|root
|parent
|next
[-]
enduku
|root
|parent
|previous
[-]
ZenoArrow
|previous
[-]
imhoguy
|root
|parent
|next
[-]
kreco
|root
|parent
|next
|previous
[-]
This question was not necessary. You know the answer, because people upvoted this.
aktenlage
|root
|parent
|next
|previous
[-]
defrost
|root
|parent
|next
|previous
[-]
ck45
|root
|parent
|next
|previous
[-]
baq
|root
|parent
|next
|previous
[-]
stackghost
|root
|parent
|next
[-]
Why would the scads of people writing JavaScript, Java, python, go, rails, etc need to be aware of jemalloc?
nh2
|root
|parent
|next
[-]
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.
xxs
|root
|parent
|next
|previous
[-]
and even then recently it costed (us) quite a few months to blame JVM and later the default glibc memory allocator for running out native (java heap memory) - had to exclude all possible native libs, direct buffers, sockets, thread stacks and so on. Changing the malloc to jemalloc solved the issue, even though initially it was done for its debugging capabilities.
It's just a great memory allocator.
iam-da-author
|root
|parent
|previous
[-]
I work for the runtime team of JPG @ Oracle. We use malloc in Hotspot, quite a lot actually! Providing your JVM with a good malloc can improve the performance of the runtime, both in terms of CPU and memory, by quite a bit.
I don't think you need the details, but it's good to be aware that some mallocs are better than others, and there are multiple of them. Being aware of jemalloc is a good way of being aware of the facts I just mentioned :-).
rfgplk
|root
|parent
|previous
[-]
groomlake
|root
|parent
|next
[-]
stackghost
|root
|parent
|next
|previous
[-]
HackerThemAll
|root
|parent
|previous
[-]
Writing allocators for domain-specific access patterns is easy. Writing a general-purpose high performing, stable allocator with bounded P99 latency is hard.
Give your friend, Dunning–Kruger, some better pills to keep him from speaking through you.