Learn R Programming

extraTrees (version 1.0.5)

setJavaMemory: Utility function for setting Java memory.

Description

Function for setting JVM memory, specified in MB. If you get java.lang.OutOfMemoryError you can use this function to increase the memory available to ExtraTrees.

Usage

setJavaMemory( memoryInMB )

Arguments

memoryInMB
Integer specifying the amount of memory (MB)

Examples

Run this code
  ## use 2G memory
  setJavaMemory(2000)

Run the code above in your browser using DataLab