fix(allocator): switch global allocator from tikv-jemallocator to mimalloc

This commit is contained in:
2026-02-25 00:12:41 +00:00
parent f592bf627f
commit 7e5fe2bec3
6 changed files with 34 additions and 26 deletions

View File

@@ -91,8 +91,8 @@ libc = "0.2"
# Socket-level options (keepalive, etc.)
socket2 = { version = "0.5", features = ["all"] }
# jemalloc allocator (prevents glibc fragmentation / slow RSS growth)
tikv-jemallocator = "0.6"
# mimalloc allocator (prevents glibc fragmentation / slow RSS growth)
mimalloc = "0.1"
# Internal crates
rustproxy-config = { path = "crates/rustproxy-config" }