I have a Scala data processing tool that does not work with java.lang.OutOfMemoryError exception. The tool should make a couple of passes on a large data file (the one I'm working on is more than 700 MB), so it would be convenient if the whole thing could be stored in memory.
I run the tool from the command line or from a Bash script using the scala runner. How to increase JVM heap size for this? I tried passing -Xmx1024m , but it does not recognize this argument. I am using the nightly build of Scala 2.8.0 (r18678).
heap command-line scala jvm
Jay Conrod Sep 17 '09 at 21:09 2009-09-17 21:09
source share