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?