[R-sig-Geo] [plain text] Error: cannot allocate vector of size 274.7 Mb

Mauricio Zambrano-Bigiarini mauricio.zambrano at jrc.ec.europa.eu
Tue Nov 13 14:30:04 CET 2012


On 13/11/12 11:20, Raffaele Morelli wrote:
> Hi,
> sorry for double posting but I saw my messages were scrubbed from html
> garbage and don't know if nobody replies for that, but just in case...
> apologize if not.
>
> I am having trouble with this error when calculating a density on a
> point pattern dataset with 34480 points.
> My script exit when calculating
>
> z<-density(mypattern, 3000, dimyx=3000)
>
> The machine the script it's running on it's a debian/amd64 OS with
> 16Gb RAM, I have set to unlimited the memory limits (the output of
> ulimit -a follows)
>
> Any ideas?

Try:

?memory.limit
?gc

and read 'Circle 2' of the R_inferno 
(www.burns-stat.com/pages/Tutor/R_inferno.pdf)

IHTH,

Mauricio

-- 
=================================================
Water Resources Unit
Institute for Environment and Sustainability (IES)
Joint Research Centre (JRC), European Commission
TP 261, Via Enrico Fermi 2749, 21027 Ispra (VA), IT
webinfo    : http://floods.jrc.ec.europa.eu/
=================================================
DISCLAIMER:\ "The views expressed are purely those of th...{{dropped:11}}



More information about the R-sig-Geo mailing list