Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Memory leaks in qt-example.py

Hi, I would like to adapt the qt-example.py script (available here : https://github.com/sightmachine/SimpleCV/blob/develop/SimpleCV/examples/display/qt-example.py) to match my own needs. It opens a window in which you can see what the camera is filming.

The problem is that when I launch the script (without modification) it uses more than 1GB of RAM in less than 30 seconds. If I comment line 58 (self.timer.start(1)) the problems disappears but the script become useless. Any ideas on how to fix this?