increase gc memory
This commit is contained in:
parent
e967e5f44f
commit
b2f594cee6
3
init.org
3
init.org
|
@ -60,7 +60,8 @@ tangled, and the tangled file is compiled."
|
|||
Usually, I like to run emacs as a daemon and only ever open new emacs clients, but that often doesn't work properly and definitely doesn't work when actively working on an emacs config, so this snippet might be useful.
|
||||
#+begin_src emacs-lisp
|
||||
(setq gc-cons-percentage 0.6)
|
||||
(setq read-process-output-max (* 1024 1024)) ;; 1mb
|
||||
(setq gc-cons-threshold 2000000000)
|
||||
(setq read-process-output-max (* 20 1024 1024)) ;; 1mb
|
||||
#+end_src
|
||||
|
||||
Use GC magic hack.
|
||||
|
|
Loading…
Reference in a new issue