Preliminary Checks
Description
Hello
There is a slow memory leak in the ZED gstreamer plugin. I did a simple test where I ran the following command:
gst-launch-1.0 zedsrc name=psrc camera-fps=15 camera-resolution=4 enable-imu-fusion=true enable-positional-tracking=true depth-minimum-distance=500 depth-mode=1 fill-mode=false camera-sn=43566715 stream-type=4 ! fakesink
with three such ZED X cameras, and I monitored the RAM usage over time. After about 1 hr and 15 mins, both RAM(16GB) and Swap space(8GB) on my Jetson Orin NX was filled up, with no other applications running. The baseline ram usage without these apps running was about 2GB.
Here with attached is a screenshot of the run, and my ZED Diagnostics output.
ZED_Diagnostic_Results.json
ZED-gstreamer commit: 8924ddf
Please let me know if you need further information to diagnose the problem. Thank you!
Steps to Reproduce
- Run the command
gst-launch-1.0 zedsrc name=psrc camera-fps=15 camera-resolution=4 enable-imu-fusion=true enable-positional-tracking=true depth-minimum-distance=500 depth-mode=1 fill-mode=false camera-sn=43566715 stream-type=4 ! fakesink
- Monitor RAM usage over time. Recommended to run this this command across multiple cameras.
...
Expected Result
RAM usage should stay stable and not consume all of the available memory even after running the plugin for hours on end.
Actual Result
No more available memory. System crashes.
ZED Camera model
ZED X
Environment
Jetson Orin NX 16GB. Please see diagnostics file for more info
Anything else?
No response
Preliminary Checks
Description
Hello
There is a slow memory leak in the ZED gstreamer plugin. I did a simple test where I ran the following command:
gst-launch-1.0 zedsrc name=psrc camera-fps=15 camera-resolution=4 enable-imu-fusion=true enable-positional-tracking=true depth-minimum-distance=500 depth-mode=1 fill-mode=false camera-sn=43566715 stream-type=4 ! fakesinkwith three such ZED X cameras, and I monitored the RAM usage over time. After about 1 hr and 15 mins, both RAM(16GB) and Swap space(8GB) on my Jetson Orin NX was filled up, with no other applications running. The baseline ram usage without these apps running was about 2GB.
Here with attached is a screenshot of the run, and my ZED Diagnostics output.
ZED_Diagnostic_Results.json
ZED-gstreamer commit: 8924ddf
Please let me know if you need further information to diagnose the problem. Thank you!
Steps to Reproduce
gst-launch-1.0 zedsrc name=psrc camera-fps=15 camera-resolution=4 enable-imu-fusion=true enable-positional-tracking=true depth-minimum-distance=500 depth-mode=1 fill-mode=false camera-sn=43566715 stream-type=4 ! fakesink...
Expected Result
RAM usage should stay stable and not consume all of the available memory even after running the plugin for hours on end.
Actual Result
No more available memory. System crashes.
ZED Camera model
ZED X
Environment
Jetson Orin NX 16GB. Please see diagnostics file for more infoAnything else?
No response