Jetson TX2 giving memory leak with IP Camera

I tried to read and run the IP Camera input with OpenCV on Jetson TX2 using a python script. While the code gave a memory leak of around 38 MB on TX2, the same code on the CPU did not give a considerable memory leak in the same running time. What could be the solution to this?


Could you share your code? Could you try to use on-board camera or usb camera to observe same leakage?