Clooj 0.4 fails to launch JVM with correct parameters per project.clj

20 views
Skip to first unread message

Cedric Greevey

unread,
Jun 27, 2013, 1:58:11 PM6/27/13
to cl...@googlegroups.com
This is troubling:

(defproject foo "1.0.0-SNAPSHOT"
  :description "FIXME: write"
  :jvm-opts ^replace []
  :dependencies [[org.clojure/clojure "1.3.0"]])


=== Shutting down REPL ===nil

=== Starting new REPL at C:\Z All other files\clooj\projects\foo ===
Clojure 1.5.0
user=> clooj.repl.remote=>


(Huh? 1.5.0? My :dependencies says to use 1.3.0.)


foo.core=>
(.maxMemory (Runtime/getRuntime))
1888419840


(Only 2GB? Need more for this next test.)

defproject foo "1.0.0-SNAPSHOT"
  :description "FIXME: write"
  :jvm-opts ^replace ["-Xmx4g"]
  :dependencies [[org.clojure/clojure "1.3.0"]])

=== Shutting down REPL ===nil

=== Starting new REPL at C:\Z All other files\clooj\projects\foo ===
Clojure 1.5.0
user=> clooj.repl.remote=>
foo.core=>
(.maxMemory (Runtime/getRuntime))
1888419840


(Whaaa? Where the hell is the extra 2GB I ordered?!)

Reply all
Reply to author
Forward
0 new messages