ferrelwill
ferrelwill

Reputation: 821

Error: memory exhausted (limit reached?)

Does any one know how to resolve this error ? I am using R in macbook pro. I am using a clustering package calld rsgcc

thm <- gcc.tsheatmap(b[2:5264,], cpus = 1, cormethod = "GCC", distancemethod = "Raw", clustermethod = "complete")
Dimension information for clustered GE matrix: 5263 9


R(18015,0xac5c3a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(18015,0xac5c3a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(18015,0xac5c3a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Error: memory exhausted (limit reached?)

My session Info is

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] C/UTF-8/C/C/C/C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base 

Upvotes: 5

Views: 27588

Answers (1)

Paul Hiemstra
Paul Hiemstra

Reputation: 60984

Like @arun commented, you need to start using 64 bit R to be able to use the full potential of the 16 gigabytes o of RAM you have. Right now, R can use about 3 gb...

Upvotes: 9

Related Questions