Memory issue while trying to run a script

Hi,

In general, the memory usage should be stable when inference for each frame.
Since both buffer and engine is re-used in the inference time.
Would you mind to check if there is any leakage in your code first?

By the way, please also check the command shared below also:

Thanks.