Originally posted by bug77
View Post
Announcement
Collapse
No announcement yet.
Jemalloc 5.3 Released With Many Speed & Space Optimizations
Collapse
X
-
Originally posted by zboszor View Post
With certain applications (no swap, limited memory), it is beneficial to get NULL for allocation failures instead of getting a valid pointer and driving the system into OOM. But apparently the other side of the use case spectrum (bigmem, lot of memory hogs and users) disabling memory overcommit is also a solution.
What I'm curious is what kind of application actually benefits from disabling it. No doubt some do, but I wanted more concrete examples.
Regarding "driving the system into OOM", there are other mechanisms to avoid that. If you got that NULL pointer you're there already anyway, and approached it faster due to forcing the allocations eagerly. I've actually been there because I thought it could help my use case at a previous job.
- Likes 1
Comment
-
Originally posted by mdedetrich View Post
And people give shit on GCs that do the same thing to increase throughput (turns out a lot of people still do not know that malloc is not free and RAII has its issues)
- Likes 2
Comment
Comment