Given that you have Realtek hardware, perhaps this patch from the upstream 3.4 kernel will fix the problem:
author Jesper Juhl Thu, 12 Apr 2012 20:11:25 +0000 (22:11 +0200) committer Takashi Iwai Fri, 13 Apr 2012 05:35:57 +0000 (07:35 +0200) commit 7d7eb9ea314e992413620610b4d09c9cd5fa8959 tree 159a2cc18ad80868af18d7a0675a940c457e1536 parent 29ebe40284c75a5888c601872059fca7e258528d ALSA: hda/realtek - Fix mem leak (and rid us of trailing whitespace). In sound/pci/hda/patch_realtek.c::alc_auto_fill_dac_nids(), in the 'for (;;)' loop, if the 'badness' value returned from fill_and_eval_dacs() is negative, then we'll return from the function without freeing the memory we allocated for 'best_cfg', thus leaking. Fix the leak by kfree()'ing the memory when badness is negative. While I was there I also noticed some trailing whitespace in the function that I removed (along with all other trailing whitespace in the file) - it didn't seem worth-while to do that as two patches, so I hope it's OK that I just did it all as one patch. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai The upcoming Ubuntu 12.10 "Qantal Quetzal" is based on the upstream 3.5 kernel and thus should include this patch. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/728901 Title: pulseaudio gradually using more memory, maybe leaking Status in “pulseaudio” package in Ubuntu: New Bug description: Binary package hint: pulseaudio I have been running pavucontrol for quite some time and I notice that pulseaudio has slowly been hoarding memory, now being almost on a par with Firefox. I find that absurd for a daemon process. Here is the top output of the top command, sorted on "%MEM": PID VIRT RES SHR %CPU %MEM TIME+ COMMAND 30555 1248m 557m 20m 3 14.1 23:17.98 firefox-bin 1835 823m 515m 58m 2 13.0 201:33.44 pulseaudio ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1 ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8 Uname: Linux 2.6.35-24-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: pang 1835 F.... pulseaudio /dev/snd/pcmC0D0c: pang 1835 F...m pulseaudio /dev/snd/pcmC0D0p: pang 1835 F...m pulseaudio Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 46' Mixer name : 'Realtek ALC262' Components : 'HDA:10ec0262,18540120,00100002' Controls : 19 Simple ctrls : 12 Date: Fri Mar 4 08:34:35 2011 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) SourcePackage: pulseaudio dmi.bios.date: 06/30/2008 dmi.bios.vendor: Phoenix Technologies LTD dmi.bios.version: ELGNSF18 dmi.board.name: ELGON dmi.board.vendor: LG Electronics dmi.board.version: Not Applicable dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LG Electronics dmi.chassis.version: N/A dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrELGNSF18:bd06/30/2008:svnLGElectronics:pnP300-T.APE4V:pvrNotApplicable:rvnLGElectronics:rnELGON:rvrNotApplicable:cvnLGElectronics:ct10:cvrN/A: dmi.product.name: P300-T.APE4V dmi.product.version: Not Applicable dmi.sys.vendor: LG Electronics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/728901/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

