Memory error when using java in R
Try:
options(java.parameters = "-Xmx1000m")
or
options(java.parameters = "-Xmx2048m")
You should make sure that you are setting the Java parameters before any JVM is initialized, i.e. before java-dependent packages are loaded.
options(java.parameters = "-Xmx1000m")
or
options(java.parameters = "-Xmx2048m")
You should make sure that you are setting the Java parameters before any JVM is initialized, i.e. before java-dependent packages are loaded.
Commentaires
Enregistrer un commentaire