Add gcmh package to manage the valoue of gc-cons-threshold.
This commit is contained in:
@ -89,6 +89,13 @@
|
||||
:hook
|
||||
(after-init . global-git-gutter-mode))
|
||||
|
||||
(use-package gcmh
|
||||
:defer t
|
||||
:straight t
|
||||
:init
|
||||
(setq gcmh-high-cons-threshold 100000000)
|
||||
(gcmh-mode 1))
|
||||
|
||||
;; Highlight en los números.
|
||||
;; (use-package highlight-numbers
|
||||
;; :defer t
|
||||
|
2
init.el
2
init.el
@ -31,7 +31,7 @@
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
"Recover GC values after startup."
|
||||
(setq gc-cons-threshold 100000000
|
||||
(setq gc-cons-threshold 800000
|
||||
gc-cons-percentage 0.1)))
|
||||
|
||||
;; Cargar configuraciones
|
||||
|
Reference in New Issue
Block a user