Memory issue
2
0
Entering edit mode
SALIL SHARMA ▴ 30
@salil-sharma-1161
Last seen 10.2 years ago
Hi Group, Iam a beginner in learning R and Bioconductor. I have a basic question. How can I increase the memory limit. When I type the command: abatch <- ReadAffy(filenames = myfilenames , phenoData = mypheno) It throws me this error: Error: cannot allocate vector of size 625759 Kb In addition: Warning message: Reached total allocation of 511Mb How can I overcome this? Thanks [[alternative HTML version deleted]]
• 772 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 3 months ago
EMBL European Molecular Biology Laborat…
Dear Salil, how much memory does your machine have? How many files are there in "myfilenames" and what chiptypes are they? You might get started with using fewer arrays; on the long run, getting more memory seems like a good idea. You can also try the justGCRMA (package gcrma) and justRMA functions: The man page says: This method should require much less RAM than the conventional method of first creating an 'AffyBatch' and then running 'gcrma'. Cheers Wolfgang Salil wrote: > Hi Group, > > Iam a beginner in learning R and Bioconductor. > > I have a basic question. > How can I increase the memory limit. > > When I type the command: > > abatch <- ReadAffy(filenames = myfilenames , phenoData = mypheno) > > It throws me this error: > > Error: cannot allocate vector of size 625759 Kb > In addition: Warning message: > Reached total allocation of 511Mb > > > How can I overcome this? > > Thanks > ------------------------------------- Wolfgang Huber European Bioinformatics Institute European Molecular Biology Laboratory Cambridge CB10 1SD England Phone: +44 1223 494642 Fax: +44 1223 494486 Http: www.ebi.ac.uk/huber
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 days ago
United States
Salil wrote: > Hi Group, > > Iam a beginner in learning R and Bioconductor. > > I have a basic question. > How can I increase the memory limit. > > When I type the command: > > abatch <- ReadAffy(filenames = myfilenames , phenoData = mypheno) > > It throws me this error: > > Error: cannot allocate vector of size 625759 Kb > In addition: Warning message: > Reached total allocation of 511Mb Well, if you only have 512Mb RAM, you can overcome it by buying more. If you have more than that, you need to set your command line option --max-mem-size= to whatever amount of RAM you have. If you are on Windows, you need to set this in the Target field of your R shortcut. Jim > > > How can I overcome this? > > Thanks > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
ADD COMMENT

Login before adding your answer.

Traffic: 481 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6