[R] Error: cannot allocate vector of size
jim holtman
jholtman at gmail.com
Wed Jun 29 01:44:36 CEST 2011
Assuming that your column are numeric, you would need 4GB of memory
just to store one copy of the object. If this is 5 years, then you
would need almost 1GB for a copy, but the processing probably will use
up twice as much as it is processing. Try reading a month's worth and
see how much you use. In problems like this, you creep up on it; you
just try to jump in all at once. Do it in increments and watch the
usage.
On Tue, Jun 28, 2011 at 4:18 PM, xin123620 <chengxin.dai at gmail.com> wrote:
> Thank you Jholtman.
> Now count is 46001902. I was trying to retrieve one-year data, but I still
> receive the following message:
> "Error: cannot allocate vector of size 64.0 Mb"
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-cannot-allocate-vector-of-size-tp3629384p3631354.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>
--
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
More information about the R-help
mailing list