#jemalloc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #jemalloc, aggregated by home.social.
-
Deckhouse Prom++: как мы сжали разметку метрик Prometheus и снизили расход памяти в 2,5 раза с помощью статистики данных
Хотели избежать копирования данных, придумали свою служебную разметку, а потом обнаружили: она занимает почти столько же места, сколько сам исходный текст. Мы перестали гадать, посмотрели на реальные данные и применили простые, но эффективные подходы: числа переменной длины, отказ от double в пользу целых типов и умные if-else вместо switch . Итог: мы сжали разметку в 2,5 раза и при этом даже немного выиграли в скорости. Рассказываем, как знание предметной области помогло нам не усложнять код, а сделать его быстрее и легче.
https://habr.com/ru/companies/flant/articles/1048018/
#c++ #c++23 #prometheus #prom++ #jemalloc #switch #unroll #ifelse #varint #offset
-
Jemalloc seems to be back: jemalloc 5.3.1 Released With Many Improvements After Nearly Four Year Hiatus:
https://www.phoronix.com/forums/forum/software/programming-compilers/1626721-jemalloc-5-3-1-released-with-many-improvements-after-nearly-four-year-hiatus -
Jemalloc seems to be back: jemalloc 5.3.1 Released With Many Improvements After Nearly Four Year Hiatus:
https://www.phoronix.com/forums/forum/software/programming-compilers/1626721-jemalloc-5-3-1-released-with-many-improvements-after-nearly-four-year-hiatus -
TIL about #jemalloc, a scalable concurrent malloc(3) implementation for #FreeBSD and #Linux, only to find out it had its 20th birthday a few days ago! 🎂
Check out the original paper on https://papers.freebsd.org/2006/bsdcan/evans-jemalloc/
-
TIL about #jemalloc, a scalable concurrent malloc(3) implementation for #FreeBSD and #Linux, only to find out it had its 20th birthday a few days ago! 🎂
Check out the original paper on https://papers.freebsd.org/2006/bsdcan/evans-jemalloc/
-
(more Linux and FOSS news in previous posts of thread)
Rust 1.95 adds cfg_select! macro, if-let match guards, and destabilized JSON target specs:
https://alternativeto.net/news/2026/4/rust-1-95-adds-cfg_select-macro-if-let-match-guards-and-destabilized-json-target-specs/GCC Compiler Adds Arm AGI CPU Target:
https://www.phoronix.com/news/GCC-Arm-AGI-CPUCMake Pursuing Tighter Integration With Package Managers, Other Improvements:
https://www.phoronix.com/news/CMake-Tighter-Package-IntegrateZig 0.16.0 brings I/O interfaces and expands native CI target testing:
https://alternativeto.net/news/2026/4/zig-0-16-0-brings-i-o-interfaces-and-expands-native-ci-target-testing/Forgejo v15.0 adds repo-scoped tokens, OIDC for Actions, and major usability upgrades:
https://alternativeto.net/news/2026/4/forgejo-v15-0-adds-repo-scoped-tokens-oidc-for-actions-and-major-usability-upgrades/OpenProject 17.3 adds dedicated sprint objects, auto sprint board creation, and much more:
https://alternativeto.net/news/2026/4/openproject-17-3-adds-dedicated-sprint-objects-auto-sprint-board-creation-and-much-more/Thunderbolt is an open-source ‘AI client’ from Mozilla’s for-profit arm:
https://www.omgubuntu.co.uk/2026/04/mozilla-thunderbolt-ai-clientNginx 1.30 Released With Multipath TCP, ECH & More:
https://www.phoronix.com/news/Nginx-1.30-ReleasedWordPress adds Telegram bot, MCP controls, and complimentary access to paid newsletter:
https://alternativeto.net/news/2026/4/wordpress-adds-telegram-bot-mcp-controls-and-complimentary-access-to-paid-newsletter/WooCommerce 10.7 cuts database queries and adds Store API caching:
https://alternativeto.net/news/2026/4/woocommerce-10-7-cuts-database-queries-and-adds-store-api-caching/OpenSSL 4.0 Released with Support for Encrypted Client Hello, SNMP KDF, and More:
https://9to5linux.com/openssl-4-0-released-with-support-for-encrypted-client-hello-snmp-kdf-and-moreServo Browser Engine Making It Easier For Embedded Use:
https://www.phoronix.com/news/Servo-Embed-Crates-LTSWireGuard For Windows Reaches v1.0:
https://www.phoronix.com/news/WireGuard-For-Windows-1.0jemalloc 5.3.1 Released With Many Improvements After Nearly Four Year Hiatus:
https://www.phoronix.com/news/jemalloc-5.3.1FosseryWeb progress report:
I regenerated the JavaScript cheatsheets with page-builders, made some corrections (splitting long lines in code, making links relative) in Java cheatsheets, and now I'm working on the Java Maps cheatsheet.
https://fosseryweb.codeberg.page/@beta/cheatsheets/
https://fosseryweb-min.codeberg.page/@beta/cheatsheets/Free Software Foundation Says OnlyOffice Cannot Use AGPL to Restrict Forks:
https://linuxiac.com/fsf-says-onlyoffice-cannot-use-agpl-to-restrict-forks/#WeeklyNews #OpenSource #FOSSNews #FOSS #OpenSourceNews #News #Rust #GCC #CMake #Zig #Forgejo #OpenProject #Thunderbolt #AI #Nginx #WordPress #WooCommerce #OpenSSL #Servo #WireGuard #jemalloc #FosseryWeb #FosseryWebMin #FSF #ONLYOFFICE #Programming #Dev #FosseryTech
-
(more Linux and FOSS news in previous posts of thread)
Rust 1.95 adds cfg_select! macro, if-let match guards, and destabilized JSON target specs:
https://alternativeto.net/news/2026/4/rust-1-95-adds-cfg_select-macro-if-let-match-guards-and-destabilized-json-target-specs/GCC Compiler Adds Arm AGI CPU Target:
https://www.phoronix.com/news/GCC-Arm-AGI-CPUCMake Pursuing Tighter Integration With Package Managers, Other Improvements:
https://www.phoronix.com/news/CMake-Tighter-Package-IntegrateZig 0.16.0 brings I/O interfaces and expands native CI target testing:
https://alternativeto.net/news/2026/4/zig-0-16-0-brings-i-o-interfaces-and-expands-native-ci-target-testing/Forgejo v15.0 adds repo-scoped tokens, OIDC for Actions, and major usability upgrades:
https://alternativeto.net/news/2026/4/forgejo-v15-0-adds-repo-scoped-tokens-oidc-for-actions-and-major-usability-upgrades/OpenProject 17.3 adds dedicated sprint objects, auto sprint board creation, and much more:
https://alternativeto.net/news/2026/4/openproject-17-3-adds-dedicated-sprint-objects-auto-sprint-board-creation-and-much-more/Thunderbolt is an open-source ‘AI client’ from Mozilla’s for-profit arm:
https://www.omgubuntu.co.uk/2026/04/mozilla-thunderbolt-ai-clientNginx 1.30 Released With Multipath TCP, ECH & More:
https://www.phoronix.com/news/Nginx-1.30-ReleasedWordPress adds Telegram bot, MCP controls, and complimentary access to paid newsletter:
https://alternativeto.net/news/2026/4/wordpress-adds-telegram-bot-mcp-controls-and-complimentary-access-to-paid-newsletter/WooCommerce 10.7 cuts database queries and adds Store API caching:
https://alternativeto.net/news/2026/4/woocommerce-10-7-cuts-database-queries-and-adds-store-api-caching/OpenSSL 4.0 Released with Support for Encrypted Client Hello, SNMP KDF, and More:
https://9to5linux.com/openssl-4-0-released-with-support-for-encrypted-client-hello-snmp-kdf-and-moreServo Browser Engine Making It Easier For Embedded Use:
https://www.phoronix.com/news/Servo-Embed-Crates-LTSWireGuard For Windows Reaches v1.0:
https://www.phoronix.com/news/WireGuard-For-Windows-1.0jemalloc 5.3.1 Released With Many Improvements After Nearly Four Year Hiatus:
https://www.phoronix.com/news/jemalloc-5.3.1FosseryWeb progress report:
I regenerated the JavaScript cheatsheets with page-builders, made some corrections (splitting long lines in code, making links relative) in Java cheatsheets, and now I'm working on the Java Maps cheatsheet.
https://fosseryweb.codeberg.page/@beta/cheatsheets/
https://fosseryweb-min.codeberg.page/@beta/cheatsheets/Free Software Foundation Says OnlyOffice Cannot Use AGPL to Restrict Forks:
https://linuxiac.com/fsf-says-onlyoffice-cannot-use-agpl-to-restrict-forks/#WeeklyNews #OpenSource #FOSSNews #FOSS #OpenSourceNews #News #Rust #GCC #CMake #Zig #Forgejo #OpenProject #Thunderbolt #AI #Nginx #WordPress #WooCommerce #OpenSSL #Servo #WireGuard #jemalloc #FosseryWeb #FosseryWebMin #FSF #ONLYOFFICE #Programming #Dev #FosseryTech
-
-
-
🥳🎉 Meta's backtracking on #jemalloc is hailed as a #groundbreaking move! Because clearly, the world needed another deep dive into memory allocation strategies over their morning coffee. 🙄🔍 Who knew infrastructure updates could be so riveting?
https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renewed-commitment-to-jemalloc/ #Meta #memoryallocation #infrastructureupdates #technews #HackerNews #ngated -
🥳🎉 Meta's backtracking on #jemalloc is hailed as a #groundbreaking move! Because clearly, the world needed another deep dive into memory allocation strategies over their morning coffee. 🙄🔍 Who knew infrastructure updates could be so riveting?
https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renewed-commitment-to-jemalloc/ #Meta #memoryallocation #infrastructureupdates #technews #HackerNews #ngated -
Jemalloc Un-Abandoned by Meta
#HackerNews #Jemalloc #Meta #Abandonment #TechInfrastructure #OpenSource #MemoryManagement
-
Jemalloc Un-Abandoned by Meta
#HackerNews #Jemalloc #Meta #Abandonment #TechInfrastructure #OpenSource #MemoryManagement
-
At $dayjob, we have an embedded #Linux device that is periodically running low on memory. It's using the default (#glibc) allocator.
No leaks, and lowering MALLOC_MMAP_THRESHOLD_ made the problem go away. So: memory fragmentation.
With glibc, I'm sure that's no surprise to anyone "Use #jemalloc", right?
Sure, some do, but I don't want to use a hammer that big without trying to understand the problem first. Jemalloc being effectively end of life also doesn't really thrill me.
1/5
-
At $dayjob, we have an embedded #Linux device that is periodically running low on memory. It's using the default (#glibc) allocator.
No leaks, and lowering MALLOC_MMAP_THRESHOLD_ made the problem go away. So: memory fragmentation.
With glibc, I'm sure that's no surprise to anyone "Use #jemalloc", right?
Sure, some do, but I don't want to use a hammer that big without trying to understand the problem first. Jemalloc being effectively end of life also doesn't really thrill me.
1/5
-
If you want to understand the life cycle of software, this history of jemalloc is not a bad start
Remember: there is no bad or good here, and there is no intentionality. To assume there should have been a different outcome would be presumptuous.
There just “is”. Not everybody understands this.
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
Uff!
"jemalloc Postmortem", Jason Evans (https://jasone.github.io/2025/06/12/jemalloc-postmortem/).
Via HN: https://news.ycombinator.com/item?id=44264958
On Lobsters: https://lobste.rs/s/thpska/jemalloc_postmortem
#Malloc #Libc #jemalloc #MemoryManagement #Retrospective #OpenSource #FOSS #Facebook #Meta #FreeBSD #Linux #Windows #Allocators
-
As my #Friendica server, my-place.social, has grown to some 315 active users in just 5 months, I'm starting to hit up against #mariaDB limitations relating to the default memory manager, #MALLOC. This weekend I'm going to replace it with #jemalloc to reduce stalls, memory fragmentation issues, out-of-memory problems, and instability.
Friendica puts a lot of pressure on the database, mariaDB in this case, much more than Mastodon apparently does on PostgreSQL. My feeling is that the Mastodon developers have done much better database tuning.
But, none-the-less, the update must be done. This will be done on an Ubuntu server.
Does anyone who has changed the MariaDB or mySQL memory manager have any advice to share to keep me out of trouble?
BTW, #TCMalloc is not an option as other admins have reported crashes using it with Friendica.
-
Released ruby-install 0.10.1 with a minor fix for homebrew users who also want to compile ruby with jemalloc support.
https://github.com/postmodern/ruby-install/releases/tag/v0.10.1
https://github.com/postmodern/ruby-install#readme -
Released ruby-install 0.10.1 with a minor fix for homebrew users who also want to compile ruby with jemalloc support.
https://github.com/postmodern/ruby-install/releases/tag/v0.10.1
https://github.com/postmodern/ruby-install#readme -
Add one more vote for using #jemalloc for #rails applications. This is our memory graph for the #Sidekiq workers.
Besides adding the linked buildpack and setting configuration options, we had nothing else to do.
https://elements.heroku.com/buildpacks/gaffneyc/heroku-buildpack-jemalloc
-
Add one more vote for using #jemalloc for #rails applications. This is our memory graph for the #Sidekiq workers.
Besides adding the linked buildpack and setting configuration options, we had nothing else to do.
https://elements.heroku.com/buildpacks/gaffneyc/heroku-buildpack-jemalloc
-
Released ruby-install 0.10.0! This release contains many small improvements to usability and better support for building CRuby with jemalloc or YJIT enabled.
$ ruby-install ruby -- --with-jemalloc
$ ruby-install ruby -- --enable-yjithttps://github.com/postmodern/ruby-install/releases/tag/v0.10.0
https://github.com/postmodern/ruby-install#readme -
Released ruby-install 0.10.0! This release contains many small improvements to usability and better support for building CRuby with jemalloc or YJIT enabled.
$ ruby-install ruby -- --with-jemalloc
$ ruby-install ruby -- --enable-yjithttps://github.com/postmodern/ruby-install/releases/tag/v0.10.0
https://github.com/postmodern/ruby-install#readme -
I just learnt about `jemalloc` in order to fix the memory hunger of Synapse.
So yeah, Python developers will rather hijack the glibc memory allocator than switch to a resource efficient language.
-
I just learnt about `jemalloc` in order to fix the memory hunger of Synapse.
So yeah, Python developers will rather hijack the glibc memory allocator than switch to a resource efficient language.
-
progress: have to build #jemalloc from source to allow Ruby to build. Doesn't seem to be a massive problem, which is good
-
progress: have to build #jemalloc from source to allow Ruby to build. Doesn't seem to be a massive problem, which is good
-
Ruby on Rails, Docker, jemalloc, and multi-platform images
https://jonas.brusman.se/ruby-on-rails-docker-jemalloc-multi-platform-image/
-
Just merged a PR enabling Jemalloc in our production Rails app. Curious to see the changes reflected in the graphs after deploy.
#jemalloc #rails #RubyOnRails