Skip to content
Back to formatted view

Raw Message

Message-ID: <CAJc=yOEpvYq-P0z=mzpMK-oZeXQdvg2ZbJ-PDEi4kiMLsCmqDw@mail.gmail.com>
Date: 2020-11-02T20:16:41Z
From: Patrick (Malone Quantitative)
Subject: Error: vector memory exhausted (limit reached?)
In-Reply-To: <C4E152D0-1EAA-4616-B045-E4E76BB329D9@outlook.com>

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:
>
> 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 at 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

He/Him/His