(defun swank-clojure-cmd ()
"Create the command to start clojure according to current settings."
(swank-clojure-check-install)
(if swank-clojure-binary
(if (listp swank-clojure-binary)
swank-clojure-binary
(list swank-clojure-binary))
(delete-if
'null
(append
(list swank-clojure-java-path)
swank-clojure-extra-vm-args
(list "-Xmx1024m") ;; MLW 5/11/2010
...
Tuesday, May 11, 2010
Increase JVM memory when using Swank Clojure
When I am developing with Emacs, Swank, and Clojure I almost always need more memory than you get by default with "java -client" so I edited ~/emacs.d/elpa/swank-clojure-1.1.0/swank-clojure.el on my laptop permanently overriding the amount of memory that swank-clojure gives the JVM by adding one line:
Subscribe to:
Post Comments (Atom)
2 comments:
Note: Only a member of this blog may post a comment.