battstat-applet memory leak

Bug #1529827 reported by Radoslav Fatura
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mate-applets (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Committed
Undecided
Unassigned

Bug Description

Steps to reproduce:

1.) Add Battery Status Applet
2.) Let system run for several hours
3.) Check RAM usage

It has reached ~ 1GB RAM usage when MATE was running 2-3 days.

Additional Info:

Ubuntu MATE 15.10 64bit
MATE 1.10.2

Tags: focal
description: updated
Revision history for this message
Radoslav Fatura (rtheren) wrote :
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Did you install Ubuntu MATE or did you install Ubuntu and then add the MATE Desktop? I ask because the system monitor in the screenshot is not MATE System Monitor.

Revision history for this message
Radoslav Fatura (rtheren) wrote :

It was Ubuntu 15.10 MATE Edition. I've installed Unity on it before, so that's why I've used it

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

I can't reproduce the issue.

Changed in ubuntu-mate:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-mate because there has been no activity for 60 days.]

Changed in ubuntu-mate:
status: Incomplete → Expired
Revision history for this message
Bill Goodman (bgoodmansf) wrote :

I am seeing the same behavior on Ubunut Mate 16.04. Memory usage goes from 40MB to 75MB in 3-4 hours. I first noticed this when the memory usage was 400 MB which seemed kinda large for a battery monitor.

Revision history for this message
ltlapreste (jtlapreste) wrote :

I am seeing the same behavior on Linux Mint Sarah 18 based on Xenial.
The leak reaches 90MB in a few days.
The amount of memory used appears in the system monitor.

Changed in ubuntu-mate:
status: Expired → Confirmed
Revision history for this message
Marcus Legendre (orangefoil) wrote :

Experiencing the same memory leak on Ubuntu MATE 16.10.
Memory usage went up to ~1GB after 3.5 hours today and was over 2GB yesterday after about 7-8 hours.

I have done very computational intensive work these last two days which drained the battery very quickly and I had to recharge often.
I never noticed this memory leak during the 14 months I've been using Ubuntu MATE on this laptop. So my best guess is that the leak is somehow caused by either the quick discharge, the frequent recharges, or both.

no longer affects: ubuntu-mate
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mate-applets (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Fixed via mate-applets 1.24.1-0ubuntu1 in Ubuntu Groovy.

Changed in mate-applets (Ubuntu):
status: Confirmed → Fix Released
Changed in mate-applets (Ubuntu Focal):
status: New → Fix Committed
Revision history for this message
Ondřej Bojar (bojar-ufal) wrote :

I recently upgraded my 16.04 to 18.04 and then immediately to 20.04 (no restart between 16->18 and 18->20, if I remember correctly). I have always been using MATE and always had battery indicator in the taskbar (obviously, it was visually different in 16.04).

Today, I spotted a memory leak in battstat-applet, reaching up to 3% of my RAM.

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

I seem to have the freshest mate-applets available for 20.04:

$ sudo apt install mate-applets
Reading package lists... Done
Building dependency tree
Reading state information... Done
mate-applets is already the newest version (1.24.0-1).

Do I understand correctly that the fix is available also in 20.04 focal? Why I do not get it?
Or is there a way to install a 20.10 package to my 20.04?

Norbert (nrbrtx)
tags: added: focal
removed: applet batt-stat leak memory
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.