Fayanna
2009-Oct-15 17:06 UTC
[R] Warning messages: Reached total allocation of 1023Mb: see help(memory.size)
Hi there, I run the following code in R and got the warning like that, how can I change the memory.size? Or anything else? Thanks a lot! Faye temp<-apply(Idd4.perms$permstats[-stratum1,], + 2,sort) Error: cannot allocate vector of size 47.5 Mb In addition: Warning messages: 1: In apply(Idd4.perms$permstats[-stratum1, ], 2, sort) : Reached total allocation of 1023Mb: see help(memory.size) 2: In apply(Idd4.perms$permstats[-stratum1, ], 2, sort) : Reached total allocation of 1023Mb: see help(memory.size) 3: In unlist(ans, recursive = FALSE) : Reached total allocation of 1023Mb: see help(memory.size) 4: In unlist(ans, recursive = FALSE) : Reached total allocation of 1023Mb: see help(memory.size) 5: In unlist(ans, recursive = FALSE) : Reached total allocation of 1023Mb: see help(memory.size) 6: In unlist(ans, recursive = FALSE) : Reached total allocation of 1023Mb: see help(memory.size)>-- View this message in context: http://www.nabble.com/Warning-messages%3A---Reached-total-allocation-of-1023Mb%3A-see-help%28memory.size%29-tp25912413p25912413.html Sent from the R help mailing list archive at Nabble.com.
Steve Lianoglou
2009-Oct-15 19:54 UTC
[R] Warning messages: Reached total allocation of 1023Mb: see help(memory.size)
Hi, On Oct 15, 2009, at 1:06 PM, Fayanna wrote:> Hi there, > > I run the following code in R and got the warning like that, how can I > change the memory.size? Or anything else? Thanks a lot!You haven't told us what type of machine you're on, or how much ram you have (it might very well be that you don't have enough ram on your system to load the data you're trying to load, no?) Anyway, still .. I'm guessing that: 1. You're on windows; and 2. You're stuck in 32bit land? Look through these: http://www.nabble.com/forum/Search.jtp?forum=13820&local=y&query=windows+memory Hope that helps, -steve> > Faye > > temp<-apply(Idd4.perms$permstats[-stratum1,], > + 2,sort) > Error: cannot allocate vector of size 47.5 Mb > In addition: Warning messages: > 1: In apply(Idd4.perms$permstats[-stratum1, ], 2, sort) : > Reached total allocation of 1023Mb: see help(memory.size) > 2: In apply(Idd4.perms$permstats[-stratum1, ], 2, sort) : > Reached total allocation of 1023Mb: see help(memory.size) > 3: In unlist(ans, recursive = FALSE) : > Reached total allocation of 1023Mb: see help(memory.size) > 4: In unlist(ans, recursive = FALSE) : > Reached total allocation of 1023Mb: see help(memory.size) > 5: In unlist(ans, recursive = FALSE) : > Reached total allocation of 1023Mb: see help(memory.size) > 6: In unlist(ans, recursive = FALSE) : > Reached total allocation of 1023Mb: see help(memory.size) >> > -- > View this message in context: http://www.nabble.com/Warning-messages%3A---Reached-total-allocation-of-1023Mb%3A-see-help%28memory.size%29-tp25912413p25912413.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.-- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
Apparently Analagous Threads
- Using eval() more efficiently?
- Failed to establish your Kerberos Ticket cache due time differences with the domain controller
- Two xtable Questions
- Error: cannot allocate vector of size 1.2 Gb
- Failed to establish your Kerberos Ticket cache due time differences with the domain controller