You could add the following evinroment variable to your OS: LEIN_JVM_OPTS=-Xms4G -Xmx4G
On Windows for example, you could add at the top of "lein.bat" file the following line (under "@echo off"): SET LEIN_JVM_OPTS=-Xms4G -Xmx4G This should be enough to do the trick. On Mon, May 21, 2012 at 6:51 AM, Larry Travis <tra...@cs.wisc.edu> wrote: > How do I set jvm options for a *lein repl* initiated independently of a > project? In particular, I want the heap expansion that results from doing > "M-x clojure-jack-in" in an emacs *project.clj* buffer with ":jvm-opts [ > "-Xms4G" "-Xmx4G"]" in its defproject form. > --Larry > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en