#allocator #jemalloc #set #api-bindings

tikv-jemallocator-global

Sets jemalloc as the #[global_allocator]

2 unstable releases

0.5.0 May 24, 2022
0.4.0 Jul 21, 2020

#9 in #jemalloc

Download history 156/week @ 2023-11-27 124/week @ 2023-12-04 167/week @ 2023-12-11 298/week @ 2023-12-18 42/week @ 2023-12-25 121/week @ 2024-01-01 282/week @ 2024-01-08 254/week @ 2024-01-15 207/week @ 2024-01-22 463/week @ 2024-01-29 234/week @ 2024-02-05 782/week @ 2024-02-12 97/week @ 2024-02-19 407/week @ 2024-02-26 162/week @ 2024-03-04 128/week @ 2024-03-11

796 downloads per month
Used in 2 crates

MIT/Apache

12KB
85 lines

jemallocator-global

Travis-CI Status Latest Version docs

Sets jemalloc as the #[global allocator] on targets that support it.

Documentation / usage

Add it as a dependency:

# Cargo.toml
[dependencies]
tikv-jemallocator-global = "0.5.0"

and jemalloc will be used as the #[global_allocator] on targets that support it.

Cargo features

  • force_global_jemalloc (disabled by default): unconditionally sets jemalloc as the #[global_allocator].

Platform support

See jemallocator's platform support.

Documentation

For more information check out the jemallocator crate.

License

This project is licensed under either of

at your option.

Contribution

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

Dependencies

~7–310KB