[R] Insufficient memory

From: Roy Williams <WilliamsR_at_arc.agric.za>
Date: Wed, 21 May 2008 09:28:02 +0200

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?

Your help is much appreciated.


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

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. Received on Wed 21 May 2008 - 07:41:43 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 - 09: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