Re: {Spam?} Re: {Spam?} Re: memory leak in gtk
- From: Vincent Torri <vtorri univ-evry fr>
- To: Junior Polegato - GTK+ & GTKmm <gtk juniorpolegato com br>
- Cc: Tor Lillqvist <tml iki fi>, gtk-app-devel-list gnome org
- Subject: Re: {Spam?} Re: {Spam?} Re: memory leak in gtk
- Date: Sat, 24 Nov 2007 12:12:16 +0100 (CET)
On Sat, 24 Nov 2007, Junior Polegato - GTK+ & GTKmm wrote:
Vincent Torri escreveu:
On Sat, 24 Nov 2007, Michael Lamothe wrote:
From what I've heard about memory leaking, this is not unique to the
GTK library. If the rumours are correct, applications like `ls` are
notorious for leaking memory, safe in the knowledge that the OS will
clean up after them.
and if someone calls 'ls' iteratively in his program ?
When a process finish, the OS clean up memory. However, on some cases, the
cost to freeing the memory is greater than let to the OS.
and ? You have definitely a leak there. Calling, in your program (with
the exec() functions family), iteratively and infinitely a program that
leaks can crash your system. 'ls' is maybe not a good example, but i'm
sure you see what I mean ;)
Vincent Torri
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]