Will this memory leak happen with Nvidia pre-trained model?
Since you are using rtsp sources, can you set “live-source” of “[streammux]” to 1?
There is also memory leak fix we found : DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums, can you try it first?