Rtspsrc virtual memory usage

Hi all,

I wonder if anyone with deep insight into the plugin could help me understand the memory profile of the rtspsrc.

I’ve noticed that the when using this plugin specifically we get a high virtual memory usage on our linux boxes.

Each stream ends up allocating between 100-150MB, lower for TCP higher for UDP of this virtual memory.

We’re running a 32 bit operating system which means we’re limited to 3GB of virtual memory which can quickly be used up if we’re processing many streams even though other resources CPU/Memory are very low.

I’ve tried picking apart the code but I still couldn’t understand what might be causing this/if there is any mitigation.

Any help would be greatly appreciated.