dotnettools/SharpGrabber

The memory is not freed after conversion.

hswlab opened this issue · 1 comments

Hi, I noticed that the memory is not freed after the conversion process. I took a screenshot from the diagnostic tool. There seems to be no problems with the download. The garbage collector provides a clean horizontal line in the diagram. However, from the breakpoint at MediaConcatenator.Build (46) the memory curve goes up and stays up even though the garbage collector is called.

image

I put the brackets in all the Using calls, which didn't improve the situation^^'. Is there maybe a ffmpeg...._free_context call missing somewhere in one of the Dispose methods? This code with ffmpeg is really too complicated for me, I can't fix it without help. :)

Smells like burned chicken here!
I'll look into this.