gpt4 book ai didi

r - 错误 : memory exhausted (limit reached? )

转载 作者:行者123 更新时间:2023-12-04 17:37:13 27 4
gpt4 key购买 nike

有谁知道如何解决这个错误?我在 macbook pro 中使用 R。
我正在使用一个名为 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?)

我的 session 信息是
> 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

最佳答案

就像@arun 评论的那样,您需要开始使用 64 位 R 才能充分利用您拥有的 16 GB RAM 的潜力。现在,R 可以使用大约 3 GB...

关于r - 错误 : memory exhausted (limit reached? ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14550203/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com