[Tuxnes-devel] Re: [tuxnes-dev] Steve's memory patch
Brought to you by:
tmmm
From: Jeroen Ruigrok/A. <as...@wx...> - 2001-02-27 05:46:53
|
-On [20010208 10:44], Steve Pinkham (spi...@ki...) wrote: >And yes, it does use about 2-3 megs or real ram, over 20 megs virtual >ram.. Don't remember the executables being any bigger, but darn, we're >still allocating way to much memory somewhere.... >To see this, run "ps aux | grep tuxnes", and check the 5th >column(vsize, which as best I can tell is all virtual memory assigned >to tuxnes). Resident size never goes over about 3 and a half megs on >my machine, so all that virtual space is wasted... Luckily, Linux is >smart enough to not really give it that memory untill it needs it (or >at least that's how I think it works, don't quite remember ;-) Could >our resident BSD man give this a wirl on his box and see if he gets any >interesting results? Don't be fooled by things though. FreeBSD also assigns a VSIZE value but only allocates this when the application really needs it. In other words, should you add up the VSIZEs and other SIZEs the result could be very skewed in that it won't measure up to your memory and swap partition sizes. I need to fix the sourcecode first before I can even compile it on BSD again. =P -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 I'm a child of the air, I'm a witch of the wind... |