SWAP increases as the "video viewer" continues to run

After running “docker/run.sh” using jetson-inference, I am using “video-viewer” to output 4 RTSP streams.
Q1: The video can be output, but the SWAP usage gradually increases over time. is there some kind of memory leak in the RAM?
Also, when I stop “video-viewer” the SWAP usage decreases, but is still more than when “video-viewer” was started.
Q2: I would like to use valgrind’s Memcheck tool for jetson-inference. I would like to add the “-g -O0 option” at compile time.
Thank you very much for your help.

Our running environment is as follows.
-jetpack: 4.6
Docker version Docker version 20.10.7, build 20.10.7-0ubuntu5~18.04.3

Translated with DeepL Translate: The world's most accurate translator (free version)

Hi @nakayonum, I would recommend Building the Project from Source (outside of container) and adding those build flags to the CMakeLists.txt

Hi @dusty_nv
Thanks for your message.

its okay.

Do you have any idea what the other question is?
When I ran video-view I got the following

  • Execution command
$ video-viewer --input-codec=h264 rtsp:XXXXX
  • LOG
rtspsrc location=XXXXX latency=2000 ! queue ! rtph264depay ! h264parse ! omxh264dec ! videoconvert ! appsink name=mysink

I saw omxh264dec WORKS nvv4l2decoder DOES NOT WORK.
Should I stop using omxh264dec and use nvv4l2decoder?
If so, what happens to the following command?

rtspsrc location=XXXXX latency=2000 ! queue ! rtph264depay ! h264parse ! omxh264dec ! videoconvert ! appsink name=mysink

thank you

omxh264dec has been deprecated, so you should use nvv4l2decoder if possible. omxh264dec is still available on JetPack 4.x however. It has been removed in JetPack 5.x

Hi @dusty_nv

I see that omxh264dec was removed in JetPack 5.x.
Thanks for the info!