[R] Error: vector memory exhausted (limit reached?)

Patrick (Malone Quantitative) m@|one @end|ng |rom m@|onequ@nt|t@t|ve@com
Mon Nov 2 21:16:41 CET 2020

The error probably means what it says. I'm guessing "25 GB available"
is on the hard drive. But the issue is the data must be held in RAM,
and a file >4GB (before de-compression) is quite a lot of RAM on
laptop scales.

Try taking a subset of the data in Stata before importing?


On Mon, Nov 2, 2020 at 3:09 PM Hannah Van Impe
<hannahvanimpe using outlook.com> wrote:
> Hello
> I have a question about the error: vector memory exhausted (limit reached?). I have the R-studio version 4.0.3 (2020-10-10).
> I have a MacBook Air (13-inch, 2017). I am trying to open a dataset file ‘data_dta’ through the import dataset ‘file from stata’ button.
> I already did this with other datasets, and this works fine. Now, I want to work with a bigger dataset of 4.08 GB. When I try to open the dataset, I get this error: vector memory exhausted (limit reached?).
> What can I do about this? I still have 25 GB available on my laptop.
> Thank you very much
> Hannah Van Impe
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Patrick S. Malone, Ph.D., Malone Quantitative
NEW Service Models: http://malonequantitative.com


More information about the R-help mailing list