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

Derek Simkowiak <> writes:

> g_free(pointer);
> 	Does that memory immediately go back to the O.S.?

In general, no.

> 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?

Usually yes.

> 	If anyone can suggest a good FAQ, book, or any other reference,
> I'd be very grateful.


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