Skip to content

Error: vector memory exhausted (limit reached?)

2 messages · Hannah Van Impe, Patrick (Malone Quantitative)

#
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
#
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?

Pat


On Mon, Nov 2, 2020 at 3:09 PM Hannah Van Impe
<hannahvanimpe at outlook.com> wrote: