Pass jvm args to espresso-jshell?
joinr opened this issue · 3 comments
I'm playing with running clojure through espresso jshell. I would like to give it a larger heap. It looked like J-Xmx1g or the like, per http://mail.openjdk.java.net/pipermail/adoption-discuss/2016-February/001306.html, but option -J is not recognized. Is this a limitation of espresso-jshell at the moment, or am I missing something?
The -J prefix is not needed e.g. use just -Xmx10g
. espresso-jshell
is not a JLI launcher like java, jshell or javac.
Interesting. It seemed to accept -xmx, but I didn't see a corresponding increase in heap (naively looking at system resources; a profiler would probably tell a fuller story but I don't know how to attach a profiler to espresso-jshell). I'll assume it's happening for now; closing.
The -J prefix is indeed a missing feature; I added -R to pass options to Espresso, but -J didn't seem necessary for the demo.