Measuring Free memory

Brandon Gooch jamesbrandongooch at gmail.com
Wed Mar 17 19:51:02 UTC 2010



Sent from my iPhone

On Mar 17, 2010, at 11:25 AM, Mario Lobo <lobo at bsd.com.br> wrote:

> On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote:
>> First, you'll need a precise definition of what you mean by "free  
>> memory".
>
> Free physical memory available.
>
>>
>> Add the "-H" flag to get that value more precise.  I suspect,  
>> however,
>> that precision isn't really the right term for what you're after.
>
> I caught the -H flag right after I wrote the mail. The result has to  
> be
> multiplied by 1024.
>
> It's possible you're right but what I am trying to do is to monitor  
> the amount
> of free physical memory still on the system.
>
> To make a long story short, I am in a long stretch in trying to find  
> out why
> 8-STABLE amd64+VBox+nvidia driver is freezing my system to power  
> button point.
>

I'm also seeing something similar although perhaps not related to  
(lack of) free memory. Are you able to enable debugging in the kernel  
and maybe get a (text)dump?

>> Have you seen:
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
>> and
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMOR
>> Y-AMOUNT by any chance?
>>
>
> Those were nice, Thanks.
>
> -- 
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes  
> FREE)
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org 
> "

I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs  
but haven't heard back just yet.

-Brandon 


More information about the freebsd-questions mailing list