From 80566503646dd80c7604220f184076e190144675 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 6 Dec 2024 23:59:43 -0500 Subject: [PATCH] perf: gcmh-high-cons-threshold = 64mb Up from a conservative 16mb. This is the temporary GC threshold while the user is active, and should be set to a value that makes GC less likely. --- lisp/doom-start.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-start.el b/lisp/doom-start.el index e478a73ae..cf312b166 100644 --- a/lisp/doom-start.el +++ b/lisp/doom-start.el @@ -89,7 +89,7 @@ ;; well not be using gcmh at all. (setq gcmh-idle-delay 'auto ; default is 15s gcmh-auto-idle-delay-factor 10 - gcmh-high-cons-threshold (* 16 1024 1024)) ; 16mb + gcmh-high-cons-threshold (* 64 1024 1024)) ; 64mb (add-hook 'doom-first-buffer-hook #'gcmh-mode)