Fork me on GitHub
#cider
<
2015-07-30
>
roberto19:07:22

is there a way to pass in jvm options to cider? For example, with lein, I can configure values for -Xmx if I want to increase the ram. How can I do the same for cider?

gtrak19:07:58

cider uses lein to start repls, so it would be the same?

gtrak19:07:02

lein has a jvm-opts key.

gtrak19:07:28

i use g1gc everytime I do anything, for instance.

gtrak19:07:10

my profiles.clj is thus {:user {:plugins [[lein-difftest "2.0.0"] [cider/cider-nrepl "0.9.0-SNAPSHOT"]] :dependencies [[org.clojure/tools.nrepl "0.2.7"]] :jvm-opts ["-XX:+UseG1GC"] }}

roberto19:07:28

nice, thank you