Re: [gtk-list] Re: O.S. memory usage

>    I've also dealt with this problem on a sun solaris machine. Sun's answer
>    on this question (can't remember where i found it) : free memory is
>    wasted memory.

	First off: a heartfelt thanks to everyone who responded to my
question.  The info has been very helpful (I was expecting something more
like, "This list is for GTK+ discussion only, bugger off").

	I too have heard the " 'free' memory is wasted memory" before.
But I was under the impression that the free memory was wasted only
because the O.S. was not using that memory for hard drive caching.  I.e.,
anything listed under "free" would be better listed under "buffers".

	So, if g_free() did in fact immediately return the memory to the
system (which appearantly it does not), that memory may be listed as
"free" but would then be available as a disk cache (or for another app).

	Anyhow, thanks for the info.  Anyone with additional
references/URLs, please send them my way.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]