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