【问题标题】:SBT and command line parameters in PowerShell problemPowerShell 问题中的 SBT 和命令行参数
【发布时间】:2019-06-21 09:03:40
【问题描述】:

我尝试在 PowerShell 中运行:sbt -mem 6000 compile,它适用于 bash。

错误:OutOfMemoryError:Java 堆空间。

在 akka 编译上测试。已经尝试了与& 的几种组合,但没有任何成功。使用 PowerShell-core 和 Bash 在 Ubuntu 上工作。在 Windows 10 上失败。

如何在 PowerShell 中正确编写?为什么做这么简单的事情就这么难?

【问题讨论】:

    标签: powershell sbt windows-10 akka


    【解决方案1】:

    不是一个解决方案,但一个简单的解决方法是修改全局配置文件:

    How to set heap size for sbt?

    【讨论】:

      猜你喜欢
      • 2013-03-24
      • 1970-01-01
      • 2011-02-12
      • 2011-03-24
      • 2015-10-17
      相关资源
      最近更新 更多