Open raacampbell opened 1 year ago
This has not happened in a long time.
Still not seen it again.
Close for now.
This is happening when I run the stressTest. Depending on how reproducible this is and how often it happens, we will need to fix before leaving beta.
This again did not happen in some time, but on NM's rig in particular it is happening often. So we need to look into what the source is.
We believe the leak is related to the camera because we generally see the camera feed freeze when the memory leaks occur and because in at least one case, removing the camera cable caused the memory to release. In other instance, the memory remained locked even when MATLAB closed. This was on NM's rig, where the memory was being locked by a Dell process.
So likely the next thing to try is to look into which driver is being used for the camera. Can we use a different one? Contact the manufacturer.
It is likely this associated with the camera: #126
There is a memory leak that happens seemingly at random. I don't know what triggers it or where it's happening. Last time it happened was after sending samples. One possibility is that it is related to the camera. If so, a workaround is to disable the camera feed during experiments:
Whether the camera is running can be determined by
hZP.cam.isrunning
.If you experience this issue, please reply here on whether the above works.