Re: [R] Insufficient memory

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 21 May 2008 09:46:54 +0100 (BST)

Presumably you are using Windows without telling us. Please study the appropriate section of the rw-FAQ (and also the posting guide).

On Wed, 21 May 2008, Roy Williams wrote:

> Dear Sir/Madam,
>
> I have only started using a R-written script for modeling the
> distribution of disease vector species. Part of the script is to make a
> large GIS grid for use with GIS software, but it seems I have a memory
> problem. I get the following message:
>
> Reached total allocation of 1535Mb: see help(memory.size)
>
> My hard disk has more than 100 gigabytes available, I just have to increase the allocated memory - sofar unsuccesful. I've used the code:
>> memory.limit(4094) which returns: NULL.
> When I then use the code: > memory.limit(size = NA) it returns: [1] 4094. But then when I run the code to produce the large grid, I still get the same error message as above.

> How do I go about to increase the memory to the maximum?

Tell your unstated OS that you want more of the address space? See the rw-FAQ.

>
> Your help is much appreciated.
>
> Regards
>
> Roy Williams
>
>
> Dr R Williams
> Diagnostic Products & GIS
> ARC-Onderstepoort Vet Institute
>
> Tel: +27 12 529-9107
> Fax: +27 12 529-9285
> Cell: 072 200 0024
>
> WilliamsR_at_arc.agric.za
> Visit us at: www.arc.agric.za
>
>
> Disclaimer\ \ This message is confidential and may be co...{{dropped:20}}
>
> ______________________________________________
> 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.
>

-- 
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

______________________________________________
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.
Received on Wed 21 May 2008 - 08:52:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 21 May 2008 - 10:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive