Public bug reported:

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)

** Affects: pipewire
     Importance: Unknown
         Status: Unknown

** Affects: pipewire (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lunar

** Attachment added: "Screenshot from 2023-04-26 10-32-36.png"
   
https://bugs.launchpad.net/bugs/2017756/+attachment/5668843/+files/Screenshot%20from%202023-04-26%2010-32-36.png

** Bug watch added: gitlab.freedesktop.org/pipewire/pipewire/-/issues #1840
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1840

** Also affects: pipewire via
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1840
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pipewire in Ubuntu.
https://bugs.launchpad.net/bugs/2017756

Title:
  Pipewire-pulse consuming huge amounts of memory

Status in PipeWire:
  Unknown
Status in pipewire package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pipewire/+bug/2017756/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to