| Crates.io | tikv-jemallocator-global |
| lib.rs | tikv-jemallocator-global |
| version | 0.6.0 |
| created_at | 2020-07-21 11:50:49.402112+00 |
| updated_at | 2024-07-14 15:44:25.736583+00 |
| description | Sets `jemalloc` as the `#[global_allocator]` |
| homepage | https://github.com/tikv/jemallocator |
| repository | https://github.com/tikv/jemallocator |
| max_upload_size | |
| id | 267584 |
| size | 18,998 |
Sets
jemallocas the#[global allocator]on targets that support it.
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.
force_global_jemalloc (disabled by default): unconditionally sets jemalloc
as the #[global_allocator].See [jemallocator]'s platform support.
For more information check out the [jemallocator] crate.
This project is licensed under either of
at your option.
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.