#dataset #fork #memory-mapped #backed #ram #file #allocator

nightly disk-dlmalloc

A fork of [dlmalloc-rs] backed by a memory-mapped file, enabling support for datasets exceeding available RAM

3 unstable releases

new 0.2.0 Jan 31, 2025
0.1.1 Jan 31, 2025
0.1.0 Jan 31, 2025

#453 in Filesystem

Download history

63 downloads per month

MIT/Apache

305KB
5.5K SLoC

C 3.5K SLoC // 0.4% comments Rust 2K SLoC // 0.0% comments

disk-dlmalloc

A fork of dlmalloc-rs backed by a memory-mapped file, enabling support for datasets exceeding available RAM.

Documentation

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

A fork of [dlmalloc-rs] backed by a memory-mapped file, enabling support for datasets exceeding available RAM.

The dlmalloc allocator is described at https://gee.cs.oswego.edu/dl/html/malloc.html and this Rust crate is a straight port of the C code for the allocator into Rust. The implementation is wrapped up in a Dlmalloc type and has support for Linux, OSX, and Wasm currently.

Dependencies