XLConnect loadWorkbook error - POIXMLException (Java)

好久不见. 提交于 2019-11-30 23:58:55

It turns out that the root of this error was the JVM running out of memory (even with options(java.parameters = "-Xmx1024m")).

I tried to increase the memory, but couldn't get the JVM to take more than -Xmx2048m, which still wasn't enough to load the workbook.

So I upgraded the JRE from 32 bit to 64 bit and ran 64 bit R.

I was then able to set -Xmx4096m and successfully load my 30mb workbook.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!