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