Memory error using MovieStim3

Hi there!

I’m trying to make a pretty standard experiment in Psychopy which involves showing participants a series of 1-2 minute movie clips, followed by survey questions after every movie.

About 8 movies in, the experiment tends to crash due to a ‘memory error’. This is despite the fact that I’m deleting each movie object after playing it.

I’m running this on a Windows 7 computer with Psychopy v1.85.4 and Python 2.7 (32bit)

Any help in how to deal with this issue would be appreciated :slight_smile:

Thank you!

Nevermind. I’ve worked it out!

It turns out MovieStim3 was not the culprit at all, but another part of my code (I was repeatedly creating rating scale objects in a loop, causing Python to increasingly eat up memory over the course of the experiment)

How did you solve the issue with scale objects? I’m also working on an experiment that involves too many videos and scales, and am still having memory issues in later trials.