[R] rJava: java.lang.OutOfMemoryError

From: Greg thomas <hb8hb8_at_gmail.com>
Date: Thu 22 Jun 2006 - 00:12:18 EST

Has anybody encountered the following problem? TIA, Gregoire

> library(rJava)
> .jinit()

Error occurred during initialization of VM java.lang.OutOfMemoryError: unable to create new native thread

This would not help:
> .jinit(parameters=c("-Xmx512m","-Xmx128m"))

R and rJava versions are:
> installed.packages()["rJava",]

                Package                 LibPath                 Version
                "rJava"    "/home/user/lib/R"                 "0.4-3"
               Priority                  Bundle                Contains
                     NA                      NA                      NA
                Depends                Suggests                 Imports
"R (>= 2.0.0), methods"                      NA                      NA

> R.Version()

[1] "i686, linux-gnu"
[1] "Version 2.3.1 (2006-06-01)"

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 22 00:24:53 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 22 Jun 2006 - 02:11:54 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.