incredibly high memory usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Software |
Fix Released
|
Unknown
|
|||
gnome-software (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Please describe the issue you’re experiencing:
gnome-software is consuming 6+ GB of RAM on my machine. This is unacceptable and is affecting all other applications.
Error message appearing in /var/log/syslog
N/A -- other processes are fighting for memory, and OOM killer is more active.
What Linux distribution are you using, and what kind of package (RPM, deb, flatpak, etc.) are you experiencing the problem with?
Ubuntu 22.10
apt
flatpak
I don't know how to replicate this issue, however it does appear to be a problem retaining memory. See LSOF report below, software is gnome-software 43.0
```
sudo lsof -p 750448 -n > ~/ramusage.txt
cat ramusage.txt | perl -lane 'print "$F[6] $F[0] $F[1] $F[2] $F[3] $F[4] $F[5] $F[7] $F[8] $F[9] $F[10]"' | sort -rn > sorted-report.txt
```
Top 10 filehandles are holding onto something like 6GB of RAM?! What's going on here ?
(open filehandles, sorted by bytes):
```
1 157191688 gnome-sof 750448 beadon 11u netlink 0t0 ROUTE
2 103546882 gnome-sof 750448 beadon DEL REG 259,2 /usr/share/
3 103022860 gnome-sof 750448 beadon DEL REG 259,2 /usr/share/
4 61210892 gnome-sof 750448 beadon DEL REG 259,2 /var/lib/
5 60828700 gnome-sof 750448 beadon DEL REG 259,2 /var/cache/
6 30430848 gnome-sof 750448 beadon mem REG 259,2 101455545 /usr/lib/
7 14516125 gnome-sof 750448 beadon mem REG 259,2 97416011 /home/beadon/
8 11308392 gnome-sof 750448 beadon mem REG 259,2 101450031 /usr/lib/
9 8254320 gnome-sof 750448 beadon mem REG 259,2 101450280 /usr/lib/
10 7599984 gnome-sof 750448 beadon 475u REG 259,2 60821438 /var/tmp/#60821438 (deleted)
11 7582821 gnome-sof 750448 beadon 476u REG 259,2 60821485 /var/tmp/#60821485 (deleted)
12 6733824 gnome-sof 750448 beadon 478u REG 259,2 60821699 /var/tmp/#60821699 (deleted)
13 5966212 gnome-sof 750448 beadon mem REG 259,2 97419097 /home/beadon/
14 5712208 gnome-sof 750448 beadon mem REG 259,2 101450114 /usr/lib/
15 5681431 gnome-sof 750448 beadon 477u REG 259,2 60821584 /var/tmp/#60821584 (deleted)
16 5469177 gnome-sof 750448 beadon 482u REG 259,2 60817847 /var/tmp/#60817847 (deleted)
17 5406720 gnome-sof 750448 beadon 479u REG 259,2 60821593 /var/tmp/#60821593 (deleted)
18 5341166 gnome-sof 750448 beadon 493u REG 259,2 60821670 /var/tmp/#60821670 (deleted)
19 4616704 gnome-sof 750448 beadon 206u REG 259,2 60819152 /var/tmp/#60819152 (deleted)
20 4519958 gnome-sof 750448 beadon 497u REG 259,2 60821824 /var/tmp/#60821824 (deleted)
```
Details:
[sorted-
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 5.19.0-29-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
BootLog:
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Feb 5 20:06:15 2023
DistUpgraded: 2023-01-14 21:42:30,924 DEBUG Running PostInstallScript: '/usr/lib/
DistroCodename: kinetic
DistroVariant: ubuntu
DkmsStatus:
8812au/
8812au/
nvidia/525.78.01, 5.19.0-29-generic, x86_64: installed
virtualbox/6.1.38, 5.15.0-58-generic, x86_64: installed
virtualbox/6.1.38, 5.19.0-29-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Lenovo TigerLake-LP GT2 [Iris Xe Graphics] [17aa:22d4]
InstallationDate: Installed on 2023-01-09 (27 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: LENOVO 20XY0027US
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to kinetic on 2023-01-15 (21 days ago)
dmi.bios.date: 12/05/2022
dmi.bios.release: 1.58
dmi.bios.vendor: LENOVO
dmi.bios.version: N32ET82W (1.58 )
dmi.board.
dmi.board.name: 20XY0027US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Yoga Gen 6
dmi.product.name: 20XY0027US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2
version.
version.
version.
version.
version.
version.
version.
Changed in gnome-software: | |
status: | Unknown → Fix Released |
process has since been killed -- however I hav statistics posted here : /gitlab. gnome.org/ GNOME/gnome- software/ -/issues/ 2064
https:/
Additional files and memory usage from LSOF report attached.