[pulseaudio-discuss] Understanding PulseSimple Large Memory Allocations

Ryan McClue re.mcclue at protonmail.com
Sun Oct 3 07:44:13 UTC 2021


I'm on an Ubuntu system and want to write to a PCM buffer and play it.
I created the most basic C program that only calls pa_simple_new().
I launched this program into Intel VTune and performed a Memory Consumption analysis. It showed that libpulsecommon.so allocates ~200MB and pa_simple_new() allocates ~67MB.
Why is so much memory allocated?
Also, as pulseaudio is what is adopted by Ubuntu, is it true that I have no other choice than to use pulseaudio as it owns all the sound devices?
--
Ryan McClue, Sydney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20211003/9a55d593/attachment.htm>


More information about the pulseaudio-discuss mailing list