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
  • 317,000
  • 35
  • 244
  • 286
sbtpr
  • 541
  • 5
  • 18

1 Answers1

-1

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

set JAVA_OPTS=-Xmx1200m
call sbt run
sbtpr
  • 541
  • 5
  • 18