setJavaMemory: Get or set the size of the Java memory

Description Usage Arguments Details

Description

Get or set the size of the Java memory

Usage

1
2
3
setJavaMemory(size = 6e+09)

getJavaMemory()

Arguments

size

The size of the memory (in bytes) assigned to Java for each project. This value should not be as large as the total memory of the system.

Details

The function setJavaMemory sets the memory reserved for the Java virtual machine. Use getJavaMemory() to get the current value. The default is 2e9 (2 gigabytes), which should be sufficient in most cases. See runBootstrap for how to reduce the memory occupied by Java during parallel bootstrap operations.


Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.