Your message dated Fri, 7 Jul 2006 21:26:56 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374914: gweather: using over 20MB of resident memory;
possible memory leak?
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: gnome-applets
Version: 2.14.2-1
Severity: normal
I've had gweather running for less than 24 hours, and I see it's resident
memory usage is at 20MB:
diz $ ps -ef | grep gweather-applet-2
calum 12240 1 0 Jun21 ? 00:01:52
/usr/lib/gnome-applets/gweather-applet-2
--oaf-activate-iid=OAFIID:GNOME_GWeatherApplet_Factory --oaf-ior-fd=35
diz $ ps -Fp 12240
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
calum 12240 1 0 22546 23092 0 Jun21 ? 00:01:52 /usr/lib/gnome-a
which seems insane. I'm only monitoring two weather stations.
Might we have a memory leak here? It's an awful waste of memory, if not...
best regards,
calum.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gnome-applets depends on:
ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy
ii gconf2 2.14.0-1 GNOME configuration database syste
ii gnome-applets-data 2.14.2-1 Various applets for GNOME 2 panel
ii gnome-icon-theme 2.14.2-1 GNOME Desktop icon theme
ii gnome-panel 2.14.1-1 launcher and docking facility for
ii gstreamer0.10-alsa 0.10.7-2 GStreamer plugin for ALSA
ii libapm1 3.2.2-5 Library for interacting with APM d
ii libatk1.0-0 1.11.4-2 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.14.0-2 The Bonobo UI library
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libcairo2 1.0.4-2 The Cairo 2D vector graphics libra
ii libdbus-1-2 0.61-6 simple interprocess messaging syst
ii libdbus-glib-1-2 0.61-6 simple interprocess messaging syst
ii libfontconfig1 2.3.2-7 generic font configuration library
ii libgconf2-4 2.14.0-1 GNOME configuration database syste
ii libglade2-0 1:2.5.1-2 library to load .glade files at ru
ii libglib2.0-0 2.10.3-1 The GLib library of C routines
ii libgnome-desktop-2 2.14.2-1 Utility library for loading .deskt
ii libgnome2-0 2.14.1-2 The GNOME 2 library - runtime file
ii libgnomeui-0 2.14.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-1 GNOME virtual file-system (runtime
ii libgstreamer-plugins-base0 0.10.7-2 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.6-2 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.8.18-1 The GTK+ graphical user interface
ii libgtop2-5 2.12.2-1 Libraries for gtop system monitori
ii libgucharmap4 1:1.6.0-1 Unicode browser widget library (sh
ii libhal1 0.5.7-2 Hardware Abstraction Layer - share
ii libnotify1 0.4.0-1 sends desktop notifications to a n
ii liborbit2 1:2.14.0-1 libraries for ORBit2 - a CORBA ORB
ii libpanel-applet2-0 2.14.1-1 library for GNOME 2 panel applets
ii libpango1.0-0 1.12.3-1 Layout and rendering of internatio
ii libwnck18 2.14.2-1 Window Navigator Construction Kit
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxcursor1 1.1.5.2-5 X cursor management library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.0-5 X11 Input extension library
ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library
ii libxklavier10 2.2-3 X Keyboard Extension high-level AP
ii libxml2 2.6.24.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra
Versions of packages gnome-applets recommends:
pn deskbar-applet <none> (no description available)
ii gnome-media 2.12.0-4 GNOME media utilities
ii gnome-netstatus-applet 2.12.0-5 Network status applet for GNOME 2
ii gnome-system-monitor 2.12.2-2 Process viewer and system resource
ii imagemagick 7:6.2.4.5-0.8 Image manipulation programs
-- debconf information:
gnome-applets/cpufreq_SUID_bit: false
--- End Message ---
--- Begin Message ---
This is a followup for Debian bug <http://bugs.debian.org/374914>.
Hi,
On Thu, Jun 22, 2006, Loïc Minier wrote:
> You can get a better picture of memory *specific* to a process with
> other fields from ps output, but the easiest is to look at memory
> reported as free by errr free. In my case, I saw the second gweather
> applet freeing 2368 kB of memory when I removed it.
First, the memory usage is probably between 2300 kB and 3.6 MB per
gweather applet. Granted, it could be better, but the applets are
written with the full GNOME stack, so I'm afraid it will always be
much.
Second, I mentionned a patch to save memory by loading multiple applets
from the same *process*, but I was wrong, I meant this patch:
https://launchpad.net/distros/ubuntu/+source/gnome-panel/+bug/39155
which will only run the notification area from the same process as the
panel.
So, given that:
- no quick solution exist (no patch as I first thought)
- the memory usage is lower than you originally thought
... I'm closing this bug.
Please reopen it if necessary (or mail me).
Bye,
--
Loïc Minier <[EMAIL PROTECTED]>
--- End Message ---