[R] Yet another memory limit problem

Peter Dalgaard
2010-08-18T19:34:56Z

On 08/18/2010 11:19 AM, Tim Clark wrote:
> Dear List,
...
> I would appreciate some help.  I think I set the target field correctly,
both
> memory.size and memory.limit indicate I have over 2G of memory, yet I
can't
> allocate 831.3Mb?  It just doesn't make sense to me.

That shouldn't by itself cause concern. It is always the _last_
allocation that triggers the message, so it could happen due to
allocation of 3 vectors of size 800M. Straw, camel, back...

Another matter is that memory.size is the amount _used_, not amount
_available_, so you would seem to have more like 1500M left.

However, it does look odd that mydat with dimensions 245x9 should
generate an 800M memory request. As others have suggested, perhaps mydat
is not what you think it should be...

--
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com