How to solve issue loading large Rdata file which is actually a bit smaller than RAM?

坚强是说给别人听的谎言 提交于 2019-12-11 07:07:42

问题


I have a large *.Rdata file of size 15 Gb (15'284'533'248 Bytes) created in RStudio on a MacBook Pro with 8 Gb RAM, containing several lists of dataframes.

Now I want to load() the file into RStudio on my PC with 32 Gb RAM, but only the RAM swells beyond all measure and at the end I get this:

Error: cannot allocate vector of size 78 Kb

The comic is, when I reload it on the Mac it works totally fine.

What's going wrong?

[Edit1] RStudio 1.0.136 on Mac, RStudio 1.1.383 on PC. Both R 3.4.2.

[Edit2] Screenshot of Mac which has 8GB RAM

来源:https://stackoverflow.com/questions/46890902/how-to-solve-issue-loading-large-rdata-file-which-is-actually-a-bit-smaller-than

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