From 3af34dc78f066d0bce7e99947792bb0c75990898 Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 13 Apr 2022 04:20:44 +0100 Subject: [PATCH] Better documented `jemalloc` feature. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unsure if the massive page mapping is an issue or not... Fortune for collect's current commit: Blessing − 吉 --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 65a2653..a7a6442 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,8 @@ default = ["jemalloc", "tracing/release_max_level_warn"] # bytes: use `bytes` crate for collecting instead of `std::vec` # Use jemalloc instead of system malloc. -# Seems to reduce overall memory usage at the cost of a very small speed drop. +# +# Decreases memory-handling function calls, resulting in less "used" memory and faster allocation speeds at the cost of mapping a huge amount of virtual memory. jemalloc = ["jemallocator"] # Remove all tracing points