Apparently something is being kept in memory during execution of a loop that causes memory to explode over time.
First notices when using a YoloV5 object detector prototyping loop. First step should be to determine whether or not the problem is being caused by pycamloop.