Gstreamer encoder memory leak

We detect a memory leak when using encoder on TX2

We use Jetpack version 28.2.1

Gstreamer version 1.8.3

When we run the following command line we get a memory leak of 1.8Mb per hour

We are using free command line to detect memory leak (free memory).

gst-launch-1.0 v4l2src device=“/dev/video0” ! video/x-raw,width=1920,height=1080 ! videoconvert ! video/x-raw,format=I420 ! omxh264enc control-rate=2 bitrate=5000000 ! mpegtsmux padding=true alignment=7 ! udpsink host=10.10.10.55 port=30120 sync=false async=false

  1. Can you reproduce the memory leak?
  2. Do you have any solution to this problem?

Hi,
We would suggest upgrade to latest release for TX2, which is Jetpack 4.6.3.
Please note omx plugins are deprecated on Jetpack 4. And please use nvv4l2h264enc plugin.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.