[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Interaction with XServer?
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: Interaction with XServer?
- Date: 26 Jul 2001 14:35:59 PDT
On Thu, 26 Jul 2001 13:57:06 -0700, Eric M. Monsler said:
> All,
>
> I've got a small to medium Gtk application.
>
> If I run it over a length of time, it seems to cause the XServer to
> consume large amounts of memory. Not catastrophically fast, the XServer
> (eXodus on NT4) grew to using 130 MB after running for 12 hours.
>
> I am going to try the same test on a different (*nix native) XServer,
> but I'm wondering:
>
> Is there some Gtk resource that I could be failing to release or free,
> that would cause memory bleeding on the XServer?
>
> I've eliminated "all" of the unfreed strings, etc., that cause memory
> leaks on the machine running the application code.
You might want to double check all GTK+ creation or resources,
ie creating new widgets or ref's of Gtk or Gdk objects in all your
loops
Second, check any static arrays, there's an issue with X programs
and static arrays, ie int array[10000];
This will cause the X server to behave in the way what you behave
in some circumstances (it's a bug in the X server).
--
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
.__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]