From b43e41008ce35c95f314c6cb9c35c369d0dd9d22 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Thu, 17 Oct 2019 12:38:44 -0500 Subject: [PATCH] Don't use meghanada if less than a gig of ram --- settings.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings.org b/settings.org index 55530fb..9ada1d4 100644 --- a/settings.org +++ b/settings.org @@ -188,6 +188,8 @@ This handy function is a customized ripoff of custom-save-all :defer t) (use-package meghanada + :if (>= (nth 1 (memory-info)) + (expt 1024 2)) :defer t :init (add-hook 'java-mode-hook