<div dir="auto">Hi Sebastian,<div dir="auto">I used htop and memory stats to see the memory grow when the encoder is spun up but not get go down after releasing it.</div><div dir="auto">I have not used valgrind. </div><div dir="auto">Please let me know if you have any specific suppressors I should use it with.</div><div dir="auto"><br></div><div dir="auto">I will send a testable code soon.</div><div dir="auto">Best regards</div><div dir="auto">Guru</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 30, 2022, 3:07 AM Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2022-03-29 at 01:18 -0700, Guru Govindan via gstreamer-devel wrote:<br>
> <br>
> [...]<br>
> <br>
> But everytime I create a new Bin, the memory increases and never releases.<br>
<br>
There's nothing wrong in the code snippets you pasted.<br>
Can you provide a runnable testcase that reproduces the problem?<br>
<br>
Also how do you measure the memory usage exactly?<br>
<br>
-- <br>
Sebastian Dröge, Centricular Ltd · <a href="https://www.centricular.com" rel="noreferrer noreferrer" target="_blank">https://www.centricular.com</a><br>
</blockquote></div>