Re: [R] memory allocation problem

2016-12-06 Thread Jeff Newmiller
Buy more memory? Do something different than you were doing before the error occurred? Use a search engine to find what other people have done when this message appeared? Follow the recommendations in the Posting Guide mentioned in the footer of this and every post on this mailing list? -- Sen

[R] memory allocation problem

2016-12-06 Thread Elham - via R-help
hi everyone, I tried to run my code in RStudio,but I received this error message,what should I do? Error: cannot allocate vector of size 12.1 Gb In addition: Warning messages: 1: In cor(coding.rpkm[grep("23.C", coding.rpkm$name), -1], ncoding.rpkm[grep("23.C", : Reached total allocation of 602

Re: [R] Memory allocation problem (again!)

2012-02-08 Thread Ernest Adrogué
8-02-2012, 22:22 (+0545); Christofer Bogaso escriu: > And the Session info is here: > > > sessionInfo() > R version 2.14.0 (2011-10-31) > Platform: i386-pc-mingw32/i386 (32-bit) Not an expert, but I think that 32-bit applications can only address up to 2GB on Windows. -- Bye, Ernest _

Re: [R] Memory allocation problem (again!)

2012-02-08 Thread Justin Haynes
32 bit windows has a memory limit of 2GB. Upgrading to a computer thats less than 10 years old is the best path. But short of that, if you're just generating random data, why not do it in two or more pieces and combine them later? mat.1 <- matrix(rnorm(5*2000),nrow=5) mat.2 <- matrix(rno

[R] Memory allocation problem (again!)

2012-02-08 Thread Christofer Bogaso
Dear all, I know this problem was discussed many times in forum, however unfortunately I could not find any way out for my own problem. Here I am having Memory allocation problem while generating a lot of random number. Here is my description: > rnorm(5*6000) Error: cannot allocate vector of s

Re: [R] Memory allocation problem

2011-04-08 Thread Joshua Wiley
Hi Felipe, On Fri, Apr 8, 2011 at 7:54 PM, Luis Felipe Parra wrote: > Hello, I am runnning  a program on R with a "big" number of simulations and > I am getting the following error: > > Error: no se puede ubicar un vector de tamaño  443.3 Mb > > I don't understand why because when I check the mem

[R] Memory allocation problem

2011-04-08 Thread Luis Felipe Parra
Hello, I am runnning a program on R with a "big" number of simulations and I am getting the following error: Error: no se puede ubicar un vector de tamaño 443.3 Mb I don't understand why because when I check the memory status in my pc I get the following: > memory.size() [1] 676.3 > memory.siz

Re: [R] memory allocation problem

2010-11-03 Thread Jonathan P Daily
Or do we, what's the word... imbue it." - Jubal Early, Firefly From: Lorenzo Cattarino To: David Winsemius , Peter Langfelder Cc: r-help@r-project.org Date: 11/03/2010 03:26 AM Subject: Re: [R] memory allocation problem Sent by: r-help-boun...@r-project.org Thanks for all yo

Re: [R] memory allocation problem

2010-11-03 Thread Lorenzo Cattarino
help anyway Lorenzo -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Wednesday, 3 November 2010 12:48 PM To: Lorenzo Cattarino Cc: r-help@r-project.org Subject: Re: [R] memory allocation problem Restart your computer. (Yeah, I know that what the help-desk always says.)

Re: [R] memory allocation problem

2010-11-03 Thread Lorenzo Cattarino
much appreciated Lorenzo -Original Message- From: Lorenzo Cattarino Sent: Wednesday, 3 November 2010 2:22 PM To: 'David Winsemius'; 'Peter Langfelder' Cc: r-help@r-project.org Subject: RE: [R] memory allocation problem Thanks for all your suggestions, This is what I

Re: [R] memory allocation problem

2010-11-02 Thread Peter Langfelder
Oops, I missed that you only have 4GB of memory... but since R is apparently capable of using almost 10GB, either you actually have more RAM, or the system is swapping some data to disk. Increasing memory use in R might still help, but also may lead to a situation where the system waits forever fo

Re: [R] memory allocation problem

2010-11-02 Thread David Winsemius
Restart your computer. (Yeah, I know that what the help-desk always says.) Start R before doing anything else. Then run your code in a clean session. Check ls() oafter starte up to make sure you don't have a bunch f useless stuff in your .Rdata file. Don't load anything that is not german

Re: [R] memory allocation problem

2010-11-02 Thread Peter Langfelder
You have (almost) exhausted the 10GB you limited R to (that's what the memory.size() tells you). Increase memory.limit (if you have more RAM, use memory.limit(15000) for 15GB etc), or remove large data objects from you session. Use rm(object), the issue garbage collection gc(). Sometimes garbage co

[R] memory allocation problem

2010-11-02 Thread Lorenzo Cattarino
I would also like to include details on my R version > version _ platform x86_64-pc-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 s

[R] memory allocation problem

2010-11-02 Thread Lorenzo Cattarino
Hi R users I am trying to run a non linear parameter optimization using the function optim() and I have problems regarding memory allocation. My data are in a dataframe with 9 columns. There are 656100 rows. >head(org_results) comb.id p H1 H2 Range Rep no.steps dist a

[R] memory allocation problem

2010-11-02 Thread Lorenzo Cattarino
I forgot to mention that I am using windows 7 (64-bit) and the R version 2.11.1 (64-bit) Thank you Lorenzo From: Lorenzo Cattarino Sent: Wednesday, 3 November 2010 10:52 AM To: r-help@r-project.org Subject: memory allocation problem Hi R users I am trying to run a non linear

Re: [R] Win Server x64/R: Memory Allocation Problem

2010-07-14 Thread Dirk Eddelbuettel
On Wed, Jul 14, 2010 at 05:51:17PM +0200, will.ea...@gmx.net wrote: > Dear all, > > how can I use R on a 64-bit Windows Server 2003 machine (24GB RAM) with more > than 3GB of working memory and make full use of it. > > I started R --max-mem-size=3G since I got the warning that larger values are

[R] Win Server x64/R: Memory Allocation Problem

2010-07-14 Thread will . eagle
Dear all, how can I use R on a 64-bit Windows Server 2003 machine (24GB RAM) with more than 3GB of working memory and make full use of it. I started R --max-mem-size=3G since I got the warning that larger values are too large and ignored. In R I got: > memory.size(max=FALSE) [1] 10.5 > memory

Re: [R] Memory allocation problem (during kmeans)

2008-09-09 Thread Peter Dalgaard
rami batal skrev: > Dear all, > > I am trying to apply kmeans clusterring on a data file (size is about 300 > Mb) > > I read this file using > > x=read.table('file path' , sep=" ") > > then i do kmeans(x,25) > > but the process stops after two minutes with an error : > > Error: cannot allocate vect

[R] Memory allocation problem (during kmeans)

2008-09-08 Thread rami batal
Dear all, I am trying to apply kmeans clusterring on a data file (size is about 300 Mb) I read this file using x=read.table('file path' , sep=" ") then i do kmeans(x,25) but the process stops after two minutes with an error : Error: cannot allocate vector of size 907.3 Mb when i read the arc

Re: [R] Memory allocation problem

2008-08-12 Thread Roland Rau
Jamie Ledingham wrote: becomes too much to handle by the time the loop reaches 170. Has anyone had any experience of this problem before? Is it possible to 'wipe' R's memory at the end of each loop - all results are plotted and saved or written to text file at the end of each loop so this may b

Re: [R] Memory allocation problem

2008-08-12 Thread Kerpel, John
See ?gc - it may help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Ledingham Sent: Tuesday, August 12, 2008 9:16 AM To: r-help@r-project.org Subject: [R] Memory allocation problem Dear R users, I am running a large loop over about 400 files. To

[R] Memory allocation problem

2008-08-12 Thread Jamie Ledingham
Dear R users, I am running a large loop over about 400 files. To outline generally, the code reads in the initial data file, then uses lookup text files to obtain more information before connecting to a SQL database using RODBC and extracting more data. Finally all this is polar plotted. My proble

[R] Memory allocation problem with large dataset

2008-02-11 Thread Pamela Allen
Hello All, I have a problem when I try and run an nlme model with an added correlation structure on a large dataset. This is not surprising, but I am not sure how to fix this problem. I am using R 2.6.1, and I have had similar problems in S-plus. My dataset is mass growth data from the same 8