Redian新闻
>
why showing "out of memory!" when free memory is still large
avatar
why showing "out of memory!" when free memory is still large# Unix - 噫吁兮,危乎高哉
h*o
1
我在一台Solaris 机上运行一个程序,这台机器有49GRAM, 当此程序只用了4G RAM时中
断了并显示
out of memory.可这时候机器的free memory还很多有30G左右.这是怎么回事? 我并没
有限制这
个程序所能用的memory size.
avatar
c*t
2
If you were running a 32-bit programming, the maximum memory is 4G.
So you need to compile your program as 64-bit.

【在 h**o 的大作中提到】
: 我在一台Solaris 机上运行一个程序,这台机器有49GRAM, 当此程序只用了4G RAM时中
: 断了并显示
: out of memory.可这时候机器的free memory还很多有30G左右.这是怎么回事? 我并没
: 有限制这
: 个程序所能用的memory size.

avatar
j*y
3
compile it to 64bit
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。