Hongwei Dong wrote:
Hi, all, I'm doing a discrete choice model in R and kept getting this error:
Error: cannot allocate vector of size 198.6 Mb.

Does this mean the memory limit in R has been reached?

memory.size()
[1] 1326.89
memory.size(TRUE)
[1] 1336
memory.limit()
[1] 1535

My laptop has a 4G memory with Windows Vista (32 bit). I increased the
memory limit to 2500 M. But still getting the same error message. Any one
can give me some suggestions? Thanks.


See ?Memory and find that more than 2047 Mb is not easily possible on your 32-bit (and might not even be sufficient for your problem).

Uwe Ligges


Harry

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

______________________________________________
R-help@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.

Reply via email to