Pretty big leak to the server
- From: ERDI Gergo <cactus cactus rulez org>
- To: GTK+ development list <gtk-devel-list redhat com>
- Subject: Pretty big leak to the server
- Date: Sun, 24 Jun 2001 00:21:43 +0200 (CEST)
Showing an empty window and resizing it causes the X server to grow rather
large:
root 709 3.2 72.0 314752 278980 ? R< Jun10 649:36 /usr/bin/X11/X
this was done by resizing a window for a couple of seconds with an
opaquely resizing window manager.
Looking at it with memprof shows three leaking code paths:
Leaked 0x80d4b68 (112 bytes)
(???)
_gdk_x11_gc_new():
gdk_gc_new_with_values():
gdk_window_create_gc():
gdk_gc_new_with_values():
gdk_gc_new():
gdk_window_end_paint():
gtk_main_do_event():
gdk_window_process_updates_internal():
gdk_window_process_all_updates():
gtk_container_idle_sizer():
Leaked 0x80d4b50 (16 bytes)
g_malloc(): /home/cactus/prog/gnome/gnome2/glib/gmem.c:137
gdk_region_copy():
gdk_gc_set_clip_region():
gdk_window_paint_init_bg():
gdk_window_begin_paint_region():
gtk_main_do_event():
gdk_window_process_updates_internal():
gdk_window_process_all_updates():
gtk_container_idle_sizer():
Leaked 0x80d4b30 (28 bytes)
g_malloc():
gdk_region_copy():
gdk_gc_set_clip_region():
gdk_window_paint_init_bg():
gdk_window_begin_paint_region():
gtk_main_do_event():
gdk_window_process_updates_internal():
gdk_window_process_all_updates():
gtk_container_idle_sizer():
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
Documentation: the worst part of programming.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]