From 59fb5f385540aab5e5d666044d146924a1d85547 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 22 Apr 2021 15:26:26 +0200 Subject: [PATCH] Increase some performance limits for lsp-mode As suggested by https://emacs-lsp.github.io/lsp-mode/page/performance/. --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index d7208d5..7f0d838 100644 --- a/init.el +++ b/init.el @@ -403,7 +403,9 @@ search-whitespace-regexp "[ \t\r\n]+" visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow) history-delete-duplicates t - track-eol t) + track-eol t + gc-cons-threshold (* 100 1024 1024) ; 100mb + read-process-output-max (* 1024 1024)) ; 1mb (when (memq system-type '(gnu gnu/linux gnu/kfreebsd)) (setq x-wait-for-event-timeout nil))