Displaying 1 result from an estimated 1 matches for "xmx8000m".
2016 Apr 23
1
Java memory error when reading a small xlsx file
...error message:
Error: OutOfMemoryError (Java): Java heap space
I tried to follow the solution on the web
http://stackoverflow.com/questions/21937640/handling-java-lang-outofmemoryerror-when-writing-to-excel-from-r
and I did add a line to my program
#######
options(java.parameters = "-Xmx8000m")
########
#or
########
options(java.parameters = "-Xmx1000m")
#######
but it did not work.
I wonder if I need to detach the packages before adding that line
########
detach("package:XLConnect", unload=TRUE)
detach("package:xlsx", unload=TRUE)
detach("...