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