Howdy, Stranger!

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

Supported by

RAM overload when running in OSWeb

Dear all,

The experiment works fine in opensesame. When I run it in browser, it starts to increase the memory load and it continues to increase it at every trial until it crashes with a black screen, throwing the following error in the console:

"WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost"

At first I thought it was a problem related to the hardware acceleration setting of the browser, then I noticed the abnormal memory load.

Setting disable_garbage_collection to 'yes' or 'no' doesn't fix the problem.

I add other info that might be of some help:

-At every trial the increase in memory load is roughly between 60 and 100 MB.

-The size of the images I use is 10 kb at most and the experiment shows 9 images in every trial. There are 17 images in total in the file pool.

-The problem appears running in OSWeb both locally and on Jatos.

-These are my system information:

Thanks for your attention.



  • HI @DamianoG ,

    What browser and operating system are you using? And could you attach the experiment here, or (even better) a simplified version of the experiment that also has this problem? That might shed some light on the issue.

    — Sebastiaan

  • Hi @sebastiaan ,

    I tried the experiment in the last version of Edge (87.0.664.47) and Chrome (87.0.4280.66). I also tried it with the different back-ends.

    I attach an extremely simplified version that has the same problem:

    Thank you for your help!


  • Hi @DamianoG ,

    I don't experience exactly the same issue, but I do see weird memory behavior. Specifically, as long as I keep the OSWeb tab active, things are fine, but if I switch to another tab, then memory consumption suddenly explodes from around 40 Mb to over a gigabyte. Could that also be the case for you? Or do you also see memory consumption growing if you keep the OSWeb tab focused?

    I don't fully understand where this issue comes from, but it's certainly related to the fact that you use very large images and then scale them down on the sketchpad . If you simply use smaller images to begin with, the issue will likely be gone or at least much reduced. (This leaves the question of why these large images cause this erratic behavior, but that's perhaps less relevant for you as long as the experiment works.)

    — Sebastiaan

  • Hi @DamianoG and others (@LouisaB ),

    I had to learn some new JavaScript debugging tricks to get to the bottom of this 😎 but I think I managed to fix it. There's a pull request waiting for review and if @Daniel also agrees with this then we'll include with OpenSesame 3.3.6, which we will release in the coming days.

    — Sebastiaan

  • Hi @sebastiaan,

    that's great! I am really happy the issue I raised will eventually lead to some changes in the next update. Thank you very much for your effort!

    For replying to your previous post:

    -Simply use smaller images to begin with, the issue will likely be gone or at least much reduced.

    I am going to reduce the size of the images as you suggested.

    -Could that also be the case for you? Or do you also see memory consumption growing if you keep the OSWeb tab focused?

    I have the same problem with only one tab opened (I tried it on Chrome).



  • Dear everyone,

    the problem has been solved by the new update. (3.3.6 Lentiform Loewenfeld, released on Dec 4, 2020)



  • I am using OpenSesame 3.3.10 and I am currently running a long experiment in Safari on a Mac and the browser starts to consume up to 6 (!) GB of RAM whereas the entire experiment including images is < 2MB. Is it possible there is still another memory leakage?

  • Hi @HenkvanSteenbergen ,

    @Fab reported a similar memory leak (which is not yet fixed as of OSWeb 1.3.0) in this discussion. Does it look like that's what you're running into? If so, maybe you can chip in that discussion. I really want to resolve this issue, but it's not trivial to find out where it comes from.

    — Sebastiaan

  • Yes, very similar. I will chip in that discussion

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