Inline_script based GUI: "error: Out of memory"
I have been working on the same code for a while now which includes a GUI written in Python inline script. The GUI has worked for many iterations of the program in the past, but now crashes if the GUI is left active for to long. As far as I can tell, the Traceback doesn't indicate any of my code as being the problem (I could be mistaken). The error, which appears in multiple variations of the program, reads as follows:
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\inline_script.py", line 102, in run
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\python_workspace.py", line 161, in _exec
File "", line 24, in
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\canvas.py", line 51, in canvas
return cls(experiment, *arglist, **kwdict)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp_canvas\legacy.py", line 83, in __init__
self.surface = self.experiment.surface.copy()
error: Out of memory
Any assistance would be welcome!