Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Memory error and Opensesame


I am creating an experiment in Opensesame (3.2.6) which I want to present 63 videos at 1 second each. The videos are (currently) all .avi files and their large is (around 459 KB ). Therefore, I have added them all to the experiment folder (instead of loading them directly into the file pool) and am using legacy as a backend. I want to define four blocks with two repetitions in each block. Each block consists of 63 videos. However, every time I run the experiment I can not complete it, because it has a memory problem. It shows me "memory error''. Additionally I use media_player_mpy and some videos get stuck when I run the experiment. For example, only the sound can be heard and the image remains stuck.Do you know what I can do about it? How can I solve the problem with the memory error?

Thank you,



  • Hi @MiaLa ,

    You're using a fairly old version of OpenSesame. As a first step, I would see if this issue still persists with the latest version (currently 3.3.9). It is likely an issue with memory not being freed up by one of the underlying libraries, and it's quite possible that this issue has been resolved in the meanwhile. Could you try that first, and then report back here?

    -- Sebastiaan

    Buy Me A Coffee

  • Hi @sebastiaan ,

    First of all, thank you very much for your help. I would like to inform you that I transferred the experiment to the latest version 3.3.9 and the problem now is that the visual part of the videos is stuck. In other words, only the sound is heard and the image remains stuck. What can I do about it?

  • Hi Mia,

    You could try to convert the videos to a different format. If that doesn't solve it, you will need to provide more information on how you are actually presenting the videos. Which item are you using? The media_player is somewhat outdated. You probably have better chances if you, use a coding approach.

    Good luck,


    Buy Me A Coffee

  • Hi @eduard

    I tried to change the file format but the problem was not fixed. I use the media_player in order to present the videos. How can I use a coding approach? I do not know how to do it. Can you help me?

    Thank you!

  • Hi Mia,

    Check out this part of the documentation:

    It describes how to use the Python package OpenCV2 to playback videos. OpenCV2 is actually a very powerful package with which you can do all kinds of image and video processing.

    If coding itself will be a problem, I recommend you try to get familiar with Python coding before (or while) you're diving into the video playback. If you have no idea about coding whatsoever, it will be hard for me to help you without having to write everything by myself. Also, you'll learn to help yourself in the future.

    Sebastiaan made a great series of Python tutorial youtube videos. I can strongly recommend them to you:

    hope this helps,


    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games