gcmh-high-cons-threshold = 16mb #2378

In an attempt to fix stuttering after long term interactive use.
This commit is contained in:
Henrik Lissner 2020-01-23 02:17:51 -05:00
parent 2c9715c5d1
commit 0bc7fc1ab8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -275,7 +275,8 @@ users).")
(add-transient-hook! 'pre-command-hook (gcmh-mode +1))
(with-eval-after-load 'gcmh
(setq gcmh-idle-delay 10
gcmh-verbose doom-debug-mode)
gcmh-verbose doom-debug-mode
gcmh-high-cons-threshold 16777216) ; 16mb
(add-hook 'focus-out-hook #'gcmh-idle-garbage-collect)))
;; HACK `tty-run-terminal-initialization' is *tremendously* slow for some