Memory leak problem about nvds_obj_enc_process interface

Hello,I use nvds_obj_enc_process interface to do jpeg encode for a long time,I find there
is a memory leak problem in this interface,When I excute this interface 1000000 times in attachment demo,I find that the memory is reduced by 53 MB.
**• Hardware Platform:JETSON XAVIER NX
**• DeepStream Version:5.0
**• JetPack Version:4.4 (3.9 KB) (419.1 KB)

Could you try latest DS5.1 and see if the issue persist?

I will use latest DS5.1 to test, but I hope you can check this problem.Because the change of DS version has a big impact on us.

We fixed some memory leak issues on DS5.1, so better to use DS5.1. Also keep in mind, we will not provide fix on older DS version.

I use DS6.0 EA and jetpack 4.5.1 to retest this problem, but it still exists.I hope you can position this problem quickly.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Sorry for long delay!

How do you find this memory leak?
Is it leaked on CPU memory or Hardware memory?

If it’s CPU memory, could you capture valgrid log with steps in DeepStream SDK FAQ - #19 by kesong ?

Thanks a lot!