Pipewire-pulse consuming huge amounts of memory

Bug #2017756 reported by Alan Pope 🍺🐧🐱 🦄
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
PipeWire
Fix Released
Unknown
pipewire (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

I noticed my RAM usage was high.
pipewire-pulse is the highest user of RAM on my system.
The system has been up for four days. I have used all manner of audio applications in that time, including Slack huddle, Zoom, mpv, VLC and Microsoft Edge (YouTube, Netflix) and Kdenlive.

alan@ziggy:~$ pactl stat
Currently in use: 7865827 blocks containing 2.1 GiB bytes total.
Allocated during whole lifetime: 42983702 blocks containing 3.6 GiB bytes total.
Sample cache size: 275.2 KiB

alan@ziggy:~$ sudo python3 bin/ps_mem.py | tail
207.7 MiB + 419.6 MiB = 627.2 MiB gnome-shell
227.3 MiB + 455.3 MiB = 682.7 MiB syncthing (2)
385.4 MiB + 855.8 MiB = 1.2 GiB slack (8)
409.5 MiB + 928.5 MiB = 1.3 GiB Discord (8)
  4.2 GiB + 8.9 GiB = 13.1 GiB msedge [updated] (45)
 14.1 GiB + 28.2 GiB = 42.3 GiB pipewire-pulse
---------------------------------
                         62.7 GiB
=================================

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: pipewire-pulse 0.3.65-3
Uname: Linux 6.2.2-060202-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 26 10:24:47 2023
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-sutton-focal-amd64-20220803-89+sutton-focal-amd64+X02
InstallationDate: Installed on 2022-08-05 (263 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20220803-13:42
SourcePackage: pipewire
UpgradeStatus: Upgraded to lunar on 2023-01-02 (113 days ago)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Changed in pipewire:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pipewire (Ubuntu):
status: New → Confirmed
Changed in pipewire:
status: New → Fix Released
tags: added: fixed-in-pipewire-0.3.81 fixed-upstream
Changed in pipewire (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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