JVM options using Leiningen
21,686
Looking at the sample.project.clj file on the github repository, It looks like you can pass JVM arguments using the :jvm-opts
keyword. For Example:
:jvm-opts ["-Xmx1g" "-server"]
Author by
2daaa
Updated on December 16, 2020Comments
-
2daaa over 3 years
How do I set JVM options like
-server
when I launch Clojure using Leiningen? -
2daaa over 13 yearsI just tried it, and it looks like each option should be a separate entry in the vector so: :jvm-opts ["-Xmx1g" "-server"]
-
Erik Kaplun almost 5 yearsany idea why
:jvm-opts ["--illegal-access=permit"]
doesn't silence the respective warnings (on v11)?