gpt4 book ai didi

clojure - 使用 Leiningen 的 JVM 选项

转载 作者:行者123 更新时间:2023-12-02 00:48:06 25 4
gpt4 key购买 nike

当我使用 Leiningen 启动 Clojure 时,如何设置 JVM 选项,例如 -server

最佳答案

查看sample.project.clj在 github 存储库上的文件中,看起来您可以使用 :jvm-opts 关键字传递 JVM 参数。例如:

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

关于clojure - 使用 Leiningen 的 JVM 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3757223/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com