#742: pulseaudio heap usage continues to grow ---------------------------------+------------------------------------------ Reporter: plana...@gmail.com | Owner: lennart Type: defect | Status: new Milestone: | Component: daemon Resolution: | Keywords: memory leak ---------------------------------+------------------------------------------ Description changed by lennart:
Old description: > I checked the list of Active Tickets but didn't see a ticket describing > this issue. My apologies if I missed it. > > HARDWARE ENVIRONMENT > > Chipset: Intel Mobile Express 4 > CPU: P9600 > Memory: 2x2GB DDR3 > > SOFTWARE ENVIRONMENT > > Fedora 12 fresh install with the kernel and pulseaudio updated > > [plana...@blueplanet ~]$ uname -a > Linux blueplanet 2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec 4 00:06:26 EST > 2009 x86_64 x86_64 x86_64 GNU/Linux > > [plana...@blueplanet ~]$ pulseaudio --version > pulseaudio 0.9.21 > > PROBLEM BEHAVIOR > > pulseaudio memory/heap usage steadily creeps from 6.5MB to 2.6GB and > beyond over the span of 2-3 hours. > > pulseuadio -k kills the daemon. The daemon is automatically respawned and > process repeats itself. > > While the following commands were run System Monitor 2.28.0 shows > pusleaudio consuming 119.7MB of memory > > [plana...@blueplanet ~]$ pacmd list-samples > Welcome to PulseAudio! Use "help" for usage information. > >>> 1 cache entrie(s) available. > name: <bell-window-system> > index: 0 > sample spec: s16le 2ch 44100Hz > channel map: front-left,front-right > Stereo > length: 141620 > duration: 0.8 s > volume: n/a > n/a > balance 0.00 > lazy: no > filename: <n/a> > properties: > media.role = "event" > application.process.id = "15063" > application.name = "evolution" > event.description = "Bell event" > event.id = "bell-window-system" > media.name = "bell-window-system" > media.filename = > "/usr/share/sounds/freedesktop/stereo/bell.oga" > native-protocol.peer = "UNIX socket client" > native-protocol.version = "16" > window.x11.display = ":0.0" > window.x11.screen = "0" > application.process.user = "planar3d" > application.process.host = "blueplanet" > application.process.binary = "metacity" > application.language = "en_US.UTF-8" > application.process.machine_id = > "7f105d6fd4b5b57fbf51a5504b1ec11d" > application.process.session_id = > "7f105d6fd4b5b57fbf51a5504b1ec11d-1260504174.81995-1830815730" > > [plana...@blueplanet ~]$ pacmd stat > Welcome to PulseAudio! Use "help" for usage information. > >>> Memory blocks currently allocated: 126, size: 629.5 KiB. > Memory blocks allocated during the whole lifetime: 207223, size: 467.6 > MiB. > Memory blocks imported from other processes: 124, size: 427.2 KiB. > Memory blocks exported to other processes: 0, size: 0 B. > Total sample cache size: 138.3 KiB. > Default sample spec: s16le 2ch 44100Hz > Default channel map: front-left,front-right > Default sink name: alsa_output.pci-0000_00_1b.0.analog-stereo > Default source name: alsa_input.pci-0000_00_1b.0.analog-stereo > Memory blocks of type POOL: 1 allocated/1 accumulated. > Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. > Memory blocks of type APPENDED: 1 allocated/1 accumulated. > Memory blocks of type USER: 0 allocated/0 accumulated. > Memory blocks of type FIXED: 0 allocated/138120 accumulated. > Memory blocks of type IMPORTED: 124 allocated/69101 accumulated. > > NOTES: > > Ubuntu users and at least one Fedora user have recently reported similar > behavior > > https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/424655 > > https://bugzilla.redhat.com/show_bug.cgi?id=537692 > > This thread on the VLC forums could also be related to the same problem > > http://forum.videolan.org/viewtopic.php?f=13&t=67478 New description: I checked the list of Active Tickets but didn't see a ticket describing this issue. My apologies if I missed it. HARDWARE ENVIRONMENT Chipset: Intel Mobile Express 4 CPU: P9600 Memory: 2x2GB DDR3 SOFTWARE ENVIRONMENT Fedora 12 fresh install with the kernel and pulseaudio updated [plana...@blueplanet ~]$ uname -a Linux blueplanet 2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec 4 00:06:26 EST 2009 x86_64 x86_64 x86_64 GNU/Linux [plana...@blueplanet ~]$ pulseaudio --version pulseaudio 0.9.21 PROBLEM BEHAVIOR pulseaudio memory/heap usage steadily creeps from 6.5MB to 2.6GB and beyond over the span of 2-3 hours. pulseuadio -k kills the daemon. The daemon is automatically respawned and process repeats itself. While the following commands were run System Monitor 2.28.0 shows pusleaudio consuming 119.7MB of memory {{{ [plana...@blueplanet ~]$ pacmd list-samples Welcome to PulseAudio! Use "help" for usage information. >>> 1 cache entrie(s) available. name: <bell-window-system> index: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo length: 141620 duration: 0.8 s volume: n/a n/a balance 0.00 lazy: no filename: <n/a> properties: media.role = "event" application.process.id = "15063" application.name = "evolution" event.description = "Bell event" event.id = "bell-window-system" media.name = "bell-window-system" media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" window.x11.display = ":0.0" window.x11.screen = "0" application.process.user = "planar3d" application.process.host = "blueplanet" application.process.binary = "metacity" application.language = "en_US.UTF-8" application.process.machine_id = "7f105d6fd4b5b57fbf51a5504b1ec11d" application.process.session_id = "7f105d6fd4b5b57fbf51a5504b1ec11d-1260504174.81995-1830815730" [plana...@blueplanet ~]$ pacmd stat Welcome to PulseAudio! Use "help" for usage information. >>> Memory blocks currently allocated: 126, size: 629.5 KiB. Memory blocks allocated during the whole lifetime: 207223, size: 467.6 MiB. Memory blocks imported from other processes: 124, size: 427.2 KiB. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 138.3 KiB. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-0000_00_1b.0.analog-stereo Default source name: alsa_input.pci-0000_00_1b.0.analog-stereo Memory blocks of type POOL: 1 allocated/1 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 1 allocated/1 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/138120 accumulated. Memory blocks of type IMPORTED: 124 allocated/69101 accumulated. }}} NOTES: Ubuntu users and at least one Fedora user have recently reported similar behavior https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/424655 https://bugzilla.redhat.com/show_bug.cgi?id=537692 This thread on the VLC forums could also be related to the same problem http://forum.videolan.org/viewtopic.php?f=13&t=67478 -- -- Ticket URL: <http://pulseaudio.org/ticket/742#comment:2> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets