Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson Nano)
• DeepStream Version 5.0 GA
• JetPack Version (4.4)
• TensorRT Version 7+
• Issue Type(bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
We noticed the deepstream-app was continually consuming memory (as seen using ‘top’), with RES Resident/Physical memory going up by about 30-40MB per hour sometimes even more. So, we tried to isolate the issue and believe that enabling RTSP sink cause this. We disabled each of the plugin/feature one by one and ran the deepstream-app application. It was easily reproducible.
Run deepstream-app with the following options in the config file ds-config.txt (4.1 KB) :
1 source (MultiURI), with 1080p H264, MP4 sample file as input
1 Sink (RTSP)
Primary Inference [Disabled]
When the application was executed with No Sinks (i.e disabled) or when one Fakesink was enabled, then there was no memory leak.
When 3-4 RTSP sources and sinks are enabled, the deepstream-app crashes after 8-12 hours of operation (as memory is lost). This is why we started to suspect memory leaks and zeroed it down as explained earler. I hope NVIDIA can replicate this easily and provide some inputs/fix.
Has anyone else noticed memory leak with any kind of sinks?