jgc: Invoke Java Garbage Collection

Description Usage Arguments Details Author(s)

Description

.jgc invokes the R and Java garbage collectors.

Usage

1
.jgc(R.gc = TRUE, ...)

Arguments

R.gc

logical, if TRUE then gc(...) is called first, if FALSE only Java garbage collector is called

...

any additional parameters passed to gc()

Details

.jgc invokes the R garbage collector (unless R.gc=FALSE) which removes any unused Java references and then invokes the Java garbage collector to reclaim Java heap space.

Author(s)

Simon Urbanek


rJava documentation built on Dec. 11, 2021, 9:25 a.m.

Related to jgc in rJava...