Use jemalloc

This commit is contained in:
hulthe committed 2026-05-17 12:07:28 +02:00
1 parent 364fd768b3
commit 93a87088db
3 files changed
+26

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ use crate::{
ui::{AppWindow, ImageBucket},
};
/// Use jemalloc to reduce memory fragmentation.
#[global_allocator]
static ALLOCATOR: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
mod api;
pub mod cachemap;
mod thumbhash;