1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
\name{.jgc}
\alias{.jgc}
\title{
Invoke Java Garbage Collection
}
\description{
\code{.jgc} invokes the R and Java garbage collectors.
}
\usage{
.jgc(R.gc = TRUE, ...)
}
\arguments{
\item{R.gc}{logical, if \code{TRUE} then \code{gc(\dots)} is called
first, if \code{FALSE} only Java garbage collector is called}
\item{\dots}{any additional parameters passed to \code{gc()}}
}
\details{
\code{.jgc} invokes the R garbage collector (unless
\code{R.gc=FALSE}) which removes any unused Java references and then
invokes the Java garbage collector to reclaim Java heap space.
}
\author{
Simon Urbanek
}
\keyword{interface}
|