snmalloc VS jemallocator

Compare snmalloc vs jemallocator and see what are their differences.

jemallocator

Rust allocator using jemalloc as a backend (by tikv)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
snmalloc jemallocator
8 2
1,491 310
1.3% 4.5%
6.3 5.4
about 1 month ago 9 days ago
C++ Rust
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

snmalloc

Posts with mentions or reviews of snmalloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-11.

jemallocator

Posts with mentions or reviews of jemallocator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-08.
  • Bizarre memory leak caused by tokio runtime
    4 projects | /r/rust | 8 Sep 2022
    I was able to replicate the issue with the sample code, but not when using a different allocator (https://github.com/tikv/jemallocator). I understand the default allocator on Linux is malloc (https://doc.rust-lang.org/std/alloc/struct.System.html), and while looking up the differences between the two, it seems like jemalloc handles memory fragmentation much better (https://engineering.linkedin.com/blog/2021/taming-memory-fragmentation-in-venice-with-jemalloc). Maybe that's what's going on?
  • Maintenance status (jemallocator)
    6 projects | /r/rust | 11 Jan 2022
    There's an actively-maintained "simplified" fork at https://github.com/tikv/jemallocator.

What are some alternatives?

When comparing snmalloc and jemallocator you can also consider the following projects:

mimalloc - mimalloc is a compact general purpose allocator with excellent performance.

Mesh - A memory allocator that automatically reduces the memory footprint of C/C++ applications.

jemallocator - Rust allocator using jemalloc as a backend

mimalloc_rust - A Rust wrapper over Microsoft's MiMalloc memory allocator

rust - Empowering everyone to build reliable and efficient software.

rpmalloc - Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C

rkyv - Zero-copy deserialization framework for Rust

o1heap - Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...