[R] can we manage memory usage to increase speed?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 2 08:42:07 CEST 2005


On Mon, 1 Aug 2005, Haibo Huang wrote:

> Please refer to the following post.

Which is about Windows only, not Linux.  (And on Windows, the answer given 
is on the help page for memory.size. together with a better one.)

>
> Ed
>
> --- Mike Lawrence <Mike.Lawrence at dal.ca> wrote:
>
>> Date: Mon,  1 Aug 2005 00:19:06 -0300
>> From: Mike Lawrence <Mike.Lawrence at dal.ca>
>> To: "Briggs, Meredith M"
>> <Meredith.Briggs at team.telstra.com>
>> CC: r-help at stat.math.ethz.ch
>> Subject: Re: [R] How do you increase memeory?
>>
>> memory.limit(size = x)
>>
>> where x is the desired memory limit in MB.
>>
>>
>>
>> Quoting "Briggs, Meredith M"
>> <Meredith.Briggs at team.telstra.com>:
>>
>>> Hello
>>>
>>>
>>> Function memory.size() =435109888. How do I
>> increase it by, say 30%?
>>>
>>> Thanks
>>> Meredith

> --- Zhilin Liu <zhilinliu_email at yahoo.com> wrote:
>
>> Hi,
>>
>> Thanks for reading.
>>
>> I am running  a process in R for microarray data
>> analysis. RedHat Enterprise Linux 4, dual AMD CPU,
>> 6G memory. However, the R process use only a total
>> of <200M memory. And the CPU usage is total to ~110%
>> for two. The program takes at least 2 weeks to run
>> at the current speed. Is there some way we can
>> increase the usage of CPUs and memories and speed
>> up? Any suggestion is appreciated.
>>
>> Thanks again.
>>
>> Zhilin
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list