1

I have looked into related answers, but they are all Unix and all full configuration.

Currently if I need more heap I run my app as this from a batch file:

call scala -J-Xmx1200m -cp target\scala-2.11\classes Start

Can I do the same with sbt run, using light configuration?

trincot
  • 263,463
  • 30
  • 215
  • 251
sbtpr
  • 503
  • 4
  • 17

1 Answers1

0

Based on Ardi Goxhaj's comment the batch file that works:

set JAVA_OPTS=-Xmx1200m
call sbt run
sbtpr
  • 503
  • 4
  • 17