-1

I try to run in PowerShell: sbt -mem 6000 compile which works in bash.

Error: OutOfMemoryError: Java heap space.

Tested on akka compilation. Tried already few combinations with & without any success. Works on Ubuntu with PowerShell-core and Bash. Fails on Windows 10.

How to write it properly in PowerShell? Why is it so hard to do such simple thing?

Waldemar Wosiński
  • 1,490
  • 17
  • 28

1 Answers1

-1

Not a solution, but an easy walkaround is to modify the global config file:

How to set heap size for sbt?

Waldemar Wosiński
  • 1,490
  • 17
  • 28