I have a Scala data processing tool which is failing with a java.lang.OutOfMemoryError exception. The tool needs to make a couple passes over a large data file
java.lang.OutOfMemoryError
Edit JAVA_OPTS.
JAVA_OPTS