DeepStream SDK FAQ

9. [DS 5.0GA_Jetson_App] Capture HW & SW Memory Leak log

1.Download attachment on to Jetson device and rename to nvmemstat.py
2.Install “lsof” tool

   $ sudo apt-get install lsof

3.Run your application on Jetson in one terminal or background
4.Run this script with command :

 # replace PROGRAM_NAME to application name in step 2 
 # this script will monitor the hardware memory, SW memory, etc.
 $ sudo python3 nvmemstat.py -p PROGRAM_NAME   

5.Share the log on the topic for further triage

nvmemstat.py.txt (4.7 KB)

Possible memory leak in the sample apps
OOM of kafka?
Memory leak in test5-app with smart-record
DeepStream 6.0.1 Triton GRPC memory leak
TX2NX Swap Filling Up Due To Possible Memory Leak
Memory leak when testing deepstream sample app
NVOSD BUG : Unable to copy between two host memories/Unable to allocate host memory
Possible GPU memory leak after unreferencing Pipeline
Increasing memory usage in deepstream-app with RTSP stream input
Deepstream Memory Leak and FPS drop on Jetson
"Failed to create CaptureSession" Iot Edge
Error: gst-resource-error-quark: Failed to allocate a buffer
Hello, I use YoloV8 on my Orin 16G device The converted model automatically shuts down after running for a while
Action Recognition on Dynamic ROIs fails with CUDA error
MJPEG rtsp source cause memory leak
Multiple threads running inference are causing a slowdown
Nvvideoconvert segfault after several hours
Continuous memory consumption in deepstream-occupancy-analytics
MemAvailable decreasing on Jetpack6.0
PosixMemMap:84 mmap failed - Segmentation fault
Does utilising Jetson NX at full load make drivers memory leak?
Pipeline Crash
When running deepstream-test5-app with USE_NEW_NVSTREAMMUX=yes, the memory usage of org.gnome.Shell.Notifications keeps increasing
DeepStream smart record memory leak (DS 8.0, RTX 5070 16GB)
Memory leak using new nvstreammux
Memory leak problem when using nvds_obj_enc_process
Memory leak problem when using nvds_obj_enc_process
Deepstream 5.1 Memory Leak in NvOSD_TextParams Objects
Memory leak on Xavier NX
During model conversion, I found that there was not enough memory
Memory leak when nvv4l2decoder with drop-frame-interval param
Deepstream-app may cause mem leak with source reconnecting
Memory leak when nvv4l2decoder with drop-frame-interval param
Scaling issue on VIC vs GPU (Memory leak?)
NvBufSurfTransform failed with error -3 while converting buffer
Memory continuously increase about 50mb/day, and pipeline crash
Deepstream App with Basler ace2 camera
How to record overlapped videos
Memory leak while resetting the stream
Couldn' t able to access 4 GMSL(CSI) camera using Deepstream on AGX ORIN
Deepstream 3d action recognition app leak memory on jetson nx