From 93f6591faf0624f69c4770e16855842d6885f4a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 27 Jul 2021 13:13:53 -0400 Subject: [PATCH] tweak: gcmh-idle-delay = 5 -> 0.5 Reduce the chance of memory leaks by being a little more aggressive about idle GC. This *may* be too low; time will tell. --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 510adf7c3..7ba0ef1d6 100644 --- a/core/core.el +++ b/core/core.el @@ -298,7 +298,7 @@ config.el instead." ;; The GC introduces annoying pauses and stuttering into our Emacs experience, ;; so we use `gcmh' to stave off the GC while we're using Emacs, and provoke it ;; when it's idle. -(setq gcmh-idle-delay 5 ; default is 15s +(setq gcmh-idle-delay 0.5 ; default is 15s gcmh-high-cons-threshold (* 16 1024 1024) ; 16mb gcmh-verbose doom-debug-p)