Downloading a package XLConnectafter changing the settings java.parameters(possibly incorrectly) causes R to crash on my local computer. On the remote computer, an attempt to download a package causes an error. (Both R 3.0.2)
The linear machine has sufficient RAM (100+ GB), and R correctly handles the error. The
local computer has 8 GB of RAM and R drops sharply when loading the XLConnect package.
This happens in the terminal with R-vanilla and in RGUI
The error that occurred reads:
Error initializing virtual machine
Incompatible minimum and maximum heap sizes specified
Any thoughts or suggestions? I understand that there is a Java problem here, but why the sudden exit of R?
Playable example:
R --vanilla
options(java.parameters = "-Xms512m -Xmx2048m -Xrs")
library(rJava) # Loads
library(XLConnect) # Crashes
options(java.parameters = "-Xms512m -Xmx2048m")
options(java.parameters = "-Xms512m -Xmx2g -Xrs")
options(java.parameters = "-Xms128m -Xmx1024m -Xrs")
INFO
LINUX BOX:
OS: CentOS 6.4
R: 3.0.2
XLConnect: 0.2-7
rJava: 0.9-6
Java: 7 (build 1.7.0_45-b18)
LOCAL MACHINE:
OS: Mac OSX 10.9.1
R: 3.0.2
XLConnect: 0.2-7
rJava: 0.9-6
Java: 7 (build 1.7.0_45-b18)