[R] memory size
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Oct 1 09:29:16 CEST 2007
On Sun, 30 Sep 2007, Kim Donghoh wrote:
> Hello, R users.
>
> I need help. When I run one of my own functions, I got follwoing error
> message.
>
> Error: cannot allocate vector of size 350493 Kb
>
> So I check the memory size.
>
>> memory.limit()
> [1] 1610612736
>
> Is it enough for vector of size 350493 Kb? Am I missing something?
Yes, yes.
1) This is to allocate a vector in addition to what is already allocated
at that time.
2) Although you did not say, this is presumably 32-bit Windows. See what
?"Memory-limits" has to say about fragmentation of the (nornally) 31-bit
address space.
A 32-bit Windows system has too small an address space to comfortably
manipulate 340Mb objects.
--
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