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.
This commit is contained in:
Henrik Lissner 2021-07-27 13:13:53 -04:00
parent cd87cc0cc8
commit 93f6591faf

View file

@ -298,7 +298,7 @@ config.el instead."
;; The GC introduces annoying pauses and stuttering into our Emacs experience, ;; 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 ;; so we use `gcmh' to stave off the GC while we're using Emacs, and provoke it
;; when it's idle. ;; 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-high-cons-threshold (* 16 1024 1024) ; 16mb
gcmh-verbose doom-debug-p) gcmh-verbose doom-debug-p)