This is offtopic; my apologies. But it's a quickie, and I don't
know who else to ask (suggestions welcome!).
If I write a program that does
pointer = g_malloc(LOTS_OF_RAM);
...and then, later on, does
g_free(pointer);
Does that memory immediately go back to the O.S.? Will it be used
for drive caching, other apps, etc. as my program continues to run? Or
does Linux (and/or other O.S.s) hold on to it, say, in case my program
does another g_malloc or some such thing?
If anyone can suggest a good FAQ, book, or any other reference,
I'd be very grateful.
Thank You,
Derek Simkowiak
[EMAIL PROTECTED]
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
- [gtk-list] Pixmap Pedro Medeiros
- [gtk-list] Re: Pixmap Erik Mouw
- [gtk-list] Re: Pixmap Owen Taylor
- [gtk-list] Re: Pixmap Havoc Pennington
- [gtk-list] Pixmap Pedro Medeiros
- [gtk-list] Re: Pixmap Nicolas GEORGE
- [gtk-list] Re: O.S. memory usage Derek Simkowiak
- [gtk-list] Re: O.S. memory usage Guillaume Laurent
- [gtk-list] Re: O.S. memory usage Andrzej M. Ostruszka
- [gtk-list] Re: O.S. memory usage Scherf Andreas
- [gtk-list] Re: O.S. memory usage Sebastian Wilhelmi
- [gtk-list] Re: O.S. memory usag... Jeroen Benckhuijsen
- [gtk-list] Re: O.S. memory ... Joe Pfeiffer
- [gtk-list] Re: O.S. mem... Derek Simkowiak
- [gtk-list] Re: Pixmap Paul Barton-Davis
