avatar
m*e
1
平时不用unix,这次内存需要太大,只好上服务器做。我想知道还能不能
容纳一个大数组,top说:
PhysMem: 125M wired, 262M active, 1.17G inactive, 1.55G used, 461M free
那1.17G inactive的内存干什么的?可以用么?
谢谢!
avatar
c*r
2

It represents memory that contains data which are not currently being
accessed by any applications. It is the first candidate for being swapped
out to disk if no enough free memory.
So it can be used by your application. Even the array is bigger than
the available space (inactive+free), VM will use the swap space to
contain it.

【在 m****e 的大作中提到】
: 平时不用unix,这次内存需要太大,只好上服务器做。我想知道还能不能
: 容纳一个大数组,top说:
: PhysMem: 125M wired, 262M active, 1.17G inactive, 1.55G used, 461M free
: 那1.17G inactive的内存干什么的?可以用么?
: 谢谢!

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