scalaHeapMaximum: Globally Set Scala's Maximum Heap Size
Description
This function sets the maximum heap size for new instances of rscala bridges
created by the function scala. The value set here overrides
the argument of the same name of the function scala. Set the
argument to NULL to disable this global option. The function is helpful
for users of packages that depend on rscala.
Usage
scalaHeapMaximum(heap.maximum = NULL)
Arguments
heap.maximum
String indicating the JVM heap maximum, e.g., "8G".
Without this being set in either scala or
scalaHeapMaximum, the heap maximum will be 85% of the
physical RAM. The value from scalaHeapMaximum supersedes
that from scala.