checkJavaMemory: Java Memory Settings

View source: R/utils.R

checkJavaMemoryR Documentation

Java Memory Settings

Description

Information about the Java heap space usage.

Usage

checkJavaMemory(units = "m")

Arguments

units

Units to return the size in: "k", "m" or "g"

Value

The maximum amount of memory that the JVM will attempt to use, measured in units.

Author(s)

Andrzej OleÅ› <andrzej.oles@gmail.com>, 2014-2023

Examples

## Not run: 
## assign 4 gigabytes of heap space to the Java environment.
options( java.parameters = "-Xmx4g" )
library( "RBioFormats" )

## End(Not run)

checkJavaMemory()

aoles/RBioFormats documentation built on March 26, 2024, 7:39 p.m.