How to specify JVM maximum heap size "-Xmx" for running an application with "run" action in SBT?

Viewed 96642

My application does large data arrays processing and needs more memory than JVM gives by default. I know in Java it's specified by "-Xmx" option. How do I set SBT up to use particular "-Xmx" value to run an application with "run" action?

11 Answers
Related