Open inchinn1 opened 2 years ago
Hello inchinn1, I had a quick look at the code with my debugger and it showed that the threads are not terminated after the image is saved and a new thread is started. I only let it run with 10 active threads or so, so I didn't get a crash yet. Try this best practice hardware-trigger example as a base without threads:
Hope that helps, Teresa
I am struggling with a memory accumulation problem. I am running an alvium 1800 U-158m in hardware triggered mode. I am acquiring a series of frames periodically which is controlled by an external trigger. This all works fine.. except that for each loop the memory does seem to empty despite using gc.collect... eventually I run out of memory and can no longer acquire. Any help with this issue would be greatly appreciated. The code is pasted below.. I have tried inserting gc. collect in as many places as possible... but still get this problem.