! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Memory leak in cpugraph-plugin 1.0.1 ?
Status:
RESOLVED: INVALID
Product:
Xfce4-netload-plugin
Component:
General

Comments

Description Mike Massonnet editbugs 2012-07-15 19:42:26 CEST
+++ This bug was initially created as a clone of Bug #8521 +++

I think there is a memory leak in the cpugraph plugin.  Over time, it uses up more and more memory, and I have to kill it.  Here's its consumption (via top) after a day or so:  

16201 brho      20   0  336m 142m  15m R   0.0  7.2   5:13.62 xfce4-cpugraph-

I checked the /proc/PID/maps, and here's how it changes over a 15 minute window:

-08053000-0e734000 rw-p 00000000 00:00 0          [heap]
-a906d000-a9073000 rw-p 00000000 00:00 0 
+08053000-0e994000 rw-p 00000000 00:00 0          [heap]
+a9067000-a9073000 rw-p 00000000 00:00 0 

FWIW, netgraph also seems to consume an increasing amount of memory, but it's not as bad:
16202 brho      20   0 98.3m  72m  13m S   0.0  3.6   1:11.53 xfce4-netload-p

Is there a way I can run the plugin from the command line with valgrind or something to help track this down?

I'm using xfce4-cpugraph-plugin-1.0.1 on Gentoo, kernel 3.2.5-gentoo, on a 32 bit machine.
Comment 1 Mike Massonnet editbugs 2012-07-18 22:42:39 CEST
*** Bug 8925 has been marked as a duplicate of this bug. ***

Bug #9125

Reported by:
Mike Massonnet
Reported on: 2012-07-15
Last modified on: 2012-07-18

People

Assignee:
Mike Massonnet
CC List:
8 users

Version

Version:
unspecified

Attachments

Additional information