mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user