Re: [osol-discuss] How to know free memory of solaris system?

2008-10-31 Thread Mike Gerdts
On Fri, Oct 31, 2008 at 9:30 PM, zhihui Chen <[EMAIL PROTECTED]> wrote: > intel7# vmstat 2 > kthr memorypagedisk faults cpu > r b w swap free re mf pi po fr de sr rm s0 s1 -- in sy cs us sy > id > 5 0 0 7588092 5866084 8 163 7 6 18 0 124 -2

[osol-discuss] How to know free memory of solaris system?

2008-10-31 Thread zhihui Chen
I have a system with 12GB memory, but vmstat and echo ::memstat | mdb -k show different free memory. For example, vmstat shows about 7GB free memory while ::memstat shows 10GB free memory. If I try to run java with 8GB heap size, it will fail to malloc such big heap. intel7# prtconf | more System