From bf4573a7df55ea58d28045ddd8038344ab73f790 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 2 Dec 2025 11:57:59 -0500 Subject: [PATCH] Bump GC parameters per autotuner advice: The following suggestions reduce the number of minor garbage collection cycles, specifically a cycle called "malloc". Your app runs malloc cycles in approximately 25.00% of all minor garbage collection cycles. --- saas/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/saas/Dockerfile b/saas/Dockerfile index 2b08addf5..902f6685f 100644 --- a/saas/Dockerfile +++ b/saas/Dockerfile @@ -69,8 +69,8 @@ ENV RUBY_GC_HEAP_0_INIT_SLOTS=692636 \ RUBY_GC_HEAP_2_INIT_SLOTS=148807 \ RUBY_GC_HEAP_3_INIT_SLOTS=9169 \ RUBY_GC_HEAP_4_INIT_SLOTS=3054 \ - RUBY_GC_MALLOC_LIMIT=33554432 \ - RUBY_GC_MALLOC_LIMIT_MAX=67108864 \ + RUBY_GC_MALLOC_LIMIT=67108864 \ + RUBY_GC_MALLOC_LIMIT_MAX=134217728 \ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 # Start the server by default, this can be overwritten at runtime