Hi everybody,

I have a memory allocation problem while using  R in my macbook pro,
which runs the latest leopard. I'm trying to run a monte carlo
simulation with 500,000 interactions, but the machine failed:


Starting MCMC Iterations...
Error: cannot allocate vector of size 1.2 Gb
R(176,0xa0640fa0) malloc: *** mmap(size=1239990272) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(176,0xa0640fa0) malloc: *** mmap(size=1239990272) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug


Since my machine has 4 Gb of memory, and since I'm not running nothing
in addition to the simulation, I found it strange. This is my machine:

 Model Identifier:     MacBookPro3,1
 Processor Name:       Intel Core 2 Duo
 Processor Speed:      2.4 GHz
 Memory:       4 GB


Unfortunately, I could figure it out how to solve it. Any help?


Many thanks in advance,

Antonio Ramos.

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to