summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-04-10 23:44:05 -0400
committerAmin Bandali <bandali@gnu.org>2020-04-10 23:44:05 -0400
commitbc58e70a99051e4b0d978a23615dc23d63115585 (patch)
tree5c7fd69bac0a3506d2b2b07411b5b411e8800124
parent8f6c63d4a853672f16efbe977126c1dc9f65ae03 (diff)
downloadconfigs-bc58e70a99051e4b0d978a23615dc23d63115585.tar.gz
configs-bc58e70a99051e4b0d978a23615dc23d63115585.tar.xz
configs-bc58e70a99051e4b0d978a23615dc23d63115585.zip
emacs: try setting a smaller gc-cons-threshold initially
doesn't seem to have an adverse effect on emacs-init-time
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 1fd13f9..056f4a7 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -54,7 +54,7 @@
(defvar b/gc-cons-threshold gc-cons-threshold)
(defvar b/gc-cons-percentage gc-cons-percentage)
(defvar b/file-name-handler-alist file-name-handler-alist)
-(setq gc-cons-threshold (* 400 1024 1024) ; 400 MiB
+(setq gc-cons-threshold (* 30 1024 1024) ; 30 MiB
gc-cons-percentage 0.6
file-name-handler-alist nil
;; sidesteps a bug when profiling with esup