diff --git a/early-init.el b/early-init.el index bb53ce9..7efa3d0 100644 --- a/early-init.el +++ b/early-init.el @@ -11,8 +11,9 @@ (add-hook 'emacs-startup-hook (lambda () - (setq gc-cons-threshold (* 100 1024 1024) ; 100mb - gc-cons-percentage 0.1))) + (setq gc-cons-threshold (* 100 1024 1024) ; 100mb + gc-cons-percentage 0.1) + (run-with-idle-timer 1.2 t #'garbage-collect))) (setq frame-resize-pixelwise t frame-inhibit-implied-resize t)