From eba15c08d38a1cb9ec978f3ca3fb1bf5566b371a Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 1 Oct 2024 10:59:07 +0200 Subject: [PATCH] Flock lower memory settings --- flock/flock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flock/flock.c b/flock/flock.c index 5fd6f53b..5c062642 100644 --- a/flock/flock.c +++ b/flock/flock.c @@ -165,6 +165,10 @@ main(int argc, char **argv, char **argh UNUSED) birdloop_init(); struct global_runtime gr = *atomic_load_explicit(&global_runtime, memory_order_relaxed); + gr.alloc.keep_mem_max_global = BIRD_ALIGN(65536, page_size); + gr.alloc.keep_mem_max_local = BIRD_ALIGN(16384, page_size); + gr.alloc.at_once = BIRD_ALIGN(4096, page_size); + // gr.latency_debug = ~0; switch_runtime(&gr);