[R] Yet another memory limit problem
Tim Clark
mudiver1200 at yahoo.com
Thu Aug 19 09:58:10 CEST 2010
Thanks for everyones help - mydat was not what I thought it was. str(mydat)
showed:
$ Date : Factor w/ 1504 levels "","2002-11-22",..: 295 295 295 295 295
295 295 295 295 295 ...
$ Time : Factor w/ 72447 levels "","00:00:00",..: 15423 15470 15509 17112
17136 17159 17209 17239 17266 21527 ...
I didn't properly convert date and time using chron. Not sure how R plots
factor levels, but obviously it has problems with it!
Aloha,
Tim
Tim Clark
Department of Zoology
University of Hawaii
----- Original Message ----
From: Peter Dalgaard <pdalgd at gmail.com>
To: Tim Clark <mudiver1200 at yahoo.com>
Cc: r-help at r-project.org
Sent: Wed, August 18, 2010 8:34:56 AM
Subject: Re: [R] Yet another memory limit problem
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
More information about the R-help
mailing list