Please, I have a 2GB computer and a huge time-series to embedd, and i tried increasing memory.limit() and memory.size(max=TRUE), but nothing. Just before the command:> memory.size(max=TRUE)[1] 13.4375> memory.limit()[1] 1535.875> gc()used (Mb) gc trigger (Mb) max used (Mb) Ncells 209552 5.6 407500 10.9 350000 9.4 Vcells 125966 1.0 786432 6.0 496686 3.8>I increased the memory limit:> memory.limit(3000)NULL> memory.limit()[1] 3000> memory.size()[1] 11.33070> memory.size(max=TRUE)[1] 13.4375> gc()used (Mb) gc trigger (Mb) max used (Mb) Ncells 209552 5.6 407500 10.9 350000 9.4 Vcells 125964 1.0 786432 6.0 496686 3.8>And even trying to increase the memory.limits, i still get and error. Any sugestions? Thanks in advance. jama
What is "huge"? How big is it and what are the commands you are trying to use? Have you tried a smaller size to see how much memory is being used (do a 'gc' before and after). Depending on what you are trying to do, you may have memory fragmented. What are the sizes of all the other objects that you have in memory? Exactly what is your configuration. Some more information is need to understand why you are getting that error. It typically means what it says; you do not have enough memory to allocate the object of that size. On Sun, Jul 20, 2008 at 3:24 PM, Jos? Augusto Jr. <jamajbr at gmail.com> wrote:> Please, > > I have a 2GB computer and a huge time-series to embedd, and i tried > increasing memory.limit() and memory.size(max=TRUE), but nothing. > > Just before the command: > >> memory.size(max=TRUE) > [1] 13.4375 >> memory.limit() > [1] 1535.875 >> gc() > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 209552 5.6 407500 10.9 350000 9.4 > Vcells 125966 1.0 786432 6.0 496686 3.8 >> > > > I increased the memory limit: > >> memory.limit(3000) > NULL >> memory.limit() > [1] 3000 >> memory.size() > [1] 11.33070 >> memory.size(max=TRUE) > [1] 13.4375 >> gc() > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 209552 5.6 407500 10.9 350000 9.4 > Vcells 125964 1.0 786432 6.0 496686 3.8 >> > > > And even trying to increase the memory.limits, i still get and error. > > Any sugestions? > > > Thanks in advance. > > jama > > ______________________________________________ > 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 Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve?
Several questions: - Before we go ahead: Are you sure 3 Gb are sufficient for your problem? - Which OS (I guess Windows)? - Which version of R (let's assume R-2.7.1)? - Is your Windows 3GB enabled in the boot flags, or is it a 64-bit version of Windows? Best wishes, Uwe Ligges Jos? Augusto Jr. wrote:> Please, > > I have a 2GB computer and a huge time-series to embedd, and i tried > increasing memory.limit() and memory.size(max=TRUE), but nothing. > > Just before the command: > >> memory.size(max=TRUE) > [1] 13.4375 >> memory.limit() > [1] 1535.875 >> gc() > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 209552 5.6 407500 10.9 350000 9.4 > Vcells 125966 1.0 786432 6.0 496686 3.8 > > > I increased the memory limit: > >> memory.limit(3000) > NULL >> memory.limit() > [1] 3000 >> memory.size() > [1] 11.33070 >> memory.size(max=TRUE) > [1] 13.4375 >> gc() > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 209552 5.6 407500 10.9 350000 9.4 > Vcells 125964 1.0 786432 6.0 496686 3.8 > > > And even trying to increase the memory.limits, i still get and error. > > Any sugestions? > > > Thanks in advance. > > jama > > ______________________________________________ > 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.