[maemo-users] Pulseausio allocating +40Mo of RAM ?
From: rixed at happyleptic.org rixed at happyleptic.orgDate: Sat Jul 17 08:03:01 EEST 2010
- Previous message: Observations on N900
- Next message: Any way to run GPRS and wlan simultaneously?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello ! I periodically run memstat on the N900 to check for apps that could leak memory (in order to find a culprit for some unresponsiveness issue), and I'm surprised to discover that every time pulse audio is the process that uses the most memory. See for instance here : memstat -w | grep pulseaudio 75848k: PID 768 (/usr/bin/pulseaudio) 72k( 68k): /usr/bin/pulseaudio 768 So the text of the binary itself is rather small (libs are counted separately), but the heap is 75M while the device is idle and not outputing anything. Is it normal ? Out of curiosity, what's the purpose of all this ram when idle ? does pulseaudio keep some huge precalc datas of some sort ? If not, wouldn't be better to just discard this RAM when its no more needed, in order to prevent swapping, which is quite slow ? What do you think ?
- Previous message: Observations on N900
- Next message: Any way to run GPRS and wlan simultaneously?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]