technomancy/leiningen — Issue #312: :jvm-opts not carried through trampoline
Author: zentrope
Created: 2011-11-02 00:41:53+00:00
State: open

If I do the following:

JVM_OPTS="-server -Xms1G" leiningen trampoline run

And then attached to my process via jvisualvm, I can see that the parameters are perceived by the JVM.

However, this does not work when I set the following options in project.clj:

:jvm-opts ["-Xmx1G" "-server"]

the options don't get transmitted to the JVM.

Keith