Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
GPU: RTX 2060 and also happens with RTX 2080 TI
• DeepStream Version
5.1
• TensorRT Version
I am using the devel docker image for deepstream-5.1
• NVIDIA GPU Driver Version (valid for GPU only)
460
• Issue Type( questions, new requirements, bugs)
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)
The issue can be reproduced with any config file containing smart-record configurations for 1 or more sources. The issue only happens with test5-app and doesn’t occur with deepstream-app.
Monitor the memory usage of the app PID or the docker container for a little while and observe the increase as shown in the figure below (taken from my experiment).
The following is the config file I used for this experiment.
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=1
[tiled-display]
enable=1
rows=4
columns=5
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=0
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source1]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=1
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source2]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=2
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
smart-record=2
smart-rec-dir-path=xxxxxxxxxxxxxxxxxxx
smart-rec-file-prefix=source2
smart-rec-video-cache=60
smart-rec-container=0
smart-rec-default-duration=10
smart-rec-start-time=5
smart-rec-duration=5
[source3]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=3
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source4]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=4
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source5]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=5
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source6]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=6
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source7]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=7
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source8]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=8
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source9]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=9
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source10]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=10
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source11]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=11
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source12]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=12
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source13]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=13
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source14]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=14
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source15]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=15
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source16]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=16
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source17]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=17
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source18]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=18
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[source19]
enable=1
type=4
uri=xxxxxxxxxxxxxxxxx
camera-id=19
rtsp-reconnect-interval-sec=5
gpu-id=0
cudadec-memtype=0
[sink0]
enable=1
type=2
sync=0
gpu-id=0
nvbuf-memory-type=0
[osd]
enable=1
gpu-id=0
border-width=1
text-size=8
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Arial
show-clock=1
clock-x-offset=1050
clock-y-offset=20
clock-text-size=18
clock-color=1;0;0;1
nvbuf-memory-type=0
[streammux]
gpu-id=0
live-source=1
batch-size=20
batched-push-timeout=65000
width=1080
height=720
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
# Required to display the PGIE labels, should be added even when using config-file property
batch-size=20
# Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
gie-unique-id=1
nvbuf-memory-type=0
config-file=xxxxxxxxx
[tracker]
enable=1
tracker-width=640
tracker-height=384
ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_nvdcf.so
ll-config-file=../configs/tracker_config.yml
gpu-id=0
enable-batch-process=1
[nvds-analytics]
enable=1
config-file=../configs/config_nvdsanalytics.txt