2 unstable releases

Uses old Rust 2015

0.2.0 Feb 9, 2018
0.1.0 Sep 3, 2017

#694 in Memory management

Download history 43/week @ 2024-02-26 12/week @ 2024-03-04 27/week @ 2024-03-11 8/week @ 2024-03-18 12/week @ 2024-03-25 84/week @ 2024-04-01 4/week @ 2024-04-08 9/week @ 2024-04-15 17/week @ 2024-04-22 1/week @ 2024-05-06 13/week @ 2024-05-13 25/week @ 2024-05-20 7/week @ 2024-05-27 15/week @ 2024-06-03 14/week @ 2024-06-10

62 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