#jemalloc #allocator #set #api-bindings

tikv-jemallocator-global

Sets jemalloc as the #[global_allocator]

3 releases (breaking)

0.6.0 Jul 14, 2024
0.5.0 May 24, 2022
0.4.0 Jul 21, 2020

#725 in Memory management

Download history 4050/week @ 2024-07-23 3330/week @ 2024-07-30 3363/week @ 2024-08-06 3152/week @ 2024-08-13 2834/week @ 2024-08-20 3799/week @ 2024-08-27 3399/week @ 2024-09-03 2802/week @ 2024-09-10 3063/week @ 2024-09-17 3167/week @ 2024-09-24 3186/week @ 2024-10-01 3656/week @ 2024-10-08 3816/week @ 2024-10-15 3345/week @ 2024-10-22 3513/week @ 2024-10-29 3818/week @ 2024-11-05

15,140 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.6.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

~8–315KB