2 unstable releases

Uses old Rust 2015

0.2.0 Feb 9, 2018
0.1.0 Sep 3, 2017

#669 in Memory management

Download history 18/week @ 2024-02-16 36/week @ 2024-02-23 24/week @ 2024-03-01 23/week @ 2024-03-08 14/week @ 2024-03-15 11/week @ 2024-03-22 51/week @ 2024-03-29

100 downloads per month
Used in 3 crates

Apache-2.0/MIT

73KB
1K SLoC

mmap-alloc

Crates.io Docs

An allocator that is backed by directly mapping memory pages.

The MapAlloc type defined by this crate implements the Alloc and ObjectAlloc traits by directly mapping memory pages from the kernel (mmap/munmap on POSIX systems and VirtualAlloc/VirtualFree on Windows). It also allows pages to be committed or uncommitted.

Dependencies

~51–320KB