1. How much RAM do you have (looks like 2GB ) . If you have more than 2GB
then you can allocate
more memory with memory.size()
2. If you have 2GB or less then you have a couple options
a) make sure your session is clean of unnecessary objects.
b) Dont read in all the data if you dont need to ( see colClasses to
control this )
c) use the bigmemory package or ff package
d) buy more RAM
On Fri, Mar 2, 2012 at 6:57 AM, Dan Abner <[email protected]> wrote:
> Hi everyone,
>
> Any ideas on troubleshooting this memory issue:
>
> > d1<-read.csv("arrears.csv")
> Error: cannot allocate vector of size 77.3 Mb
> In addition: Warning messages:
> 1: In class(data) <- "data.frame" :
> Reached total allocation of 1535Mb: see help(memory.size)
> 2: In class(data) <- "data.frame" :
> Reached total allocation of 1535Mb: see help(memory.size)
> 3: In class(data) <- "data.frame" :
> Reached total allocation of 1535Mb: see help(memory.size)
> 4: In class(data) <- "data.frame" :
> Reached total allocation of 1535Mb: see help(memory.size)
>
>
> Thanks!
>
> Dan
>
> ______________________________________________
> [email protected] 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.
>
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.