Thread Tools  
krnaish
Junior Member
 
Join Date: Apr 2015
krnaish is on a distinguished road Posts: 12
Crashes after 20-30 movie trials, Posted April 10th, 2015 #1
Hello,

I have a script that plays two movie files per trial. I am using Superlab 4.5 and have tried on various versions of Windows, but each time the program crashes after a variable number (usually around 30) of trials. Depending on the computer I run the program on, it either closes Superlab completely, or the movies will start being played in separate Active Movie Window popups.

Does this sound like a memory issue? I have tried running the program also on a demo version of Superlab 5.0, but it stops running after 15-20 trials (doesn't crash, just exits)- I don't know whether this is a restriction placed by the demo version, but the number of trials it plays seems to vary each time I run it.

Please help!

Thanks
Katherine
Reply With Quote
Hisham
Founder
 
Join Date: Aug 2006
Location: San Pedro, CA
Hisham is on a distinguished road Posts: 1,188
Posted April 15th, 2015 #2
Iím glad we talked on the phone. Please let me know if you run into other issues.
Reply With Quote
krnaish
Junior Member
 
Join Date: Apr 2015
krnaish is on a distinguished road Posts: 12
Posted April 16th, 2015 #3
Hi Hisham, thanks for your help- it fixed my problem!

Katherine
Reply With Quote
cnsla
Junior Member
 
Join Date: Apr 2012
cnsla is on a distinguished road Posts: 14
Posted May 12th, 2015 #4
Dear Hisham,
Would you provide the solution publically if possible?
I'm using both 4 and 5, but nowadays, 4 crashes in OS X 10.8 (latest updated) with Nvidia 680 for mac graphics card with both os x default and nvidia graphics driver.
Reply With Quote
Hisham
Founder
 
Join Date: Aug 2006
Location: San Pedro, CA
Hisham is on a distinguished road Posts: 1,188
Posted May 12th, 2015 #5
Sometimes we take discussion off the forum and use the phone because it’s a lot more interactive and the problem can be troubleshooted a lot quicker. But quite honestly, I don’t remember exactly what the issue was.

But generally, these two guidelines would solve a lot of movie-related questions:
  • Each movie event should be in a separate trial. A stimulus list will do this automatically for you. Do not put 5-100 movie events all linked to one trial.
  • Avoid the option “Allow movie to continue playing until it ends on its own” (it was renamed to “Never stop it” in version 5). The only reason to use that is to play two media files simultaneously, which is rare. The option to “Stop movie when trial ends” works well in most situations.
I hope this helps.
Reply With Quote
krnaish
Junior Member
 
Join Date: Apr 2015
krnaish is on a distinguished road Posts: 12
Posted May 13th, 2015 #6
I think the problem was that I was ending the trial before the movie had ended on some trials, meaning that I movie windows remaining open and overloading the memory. From what i remember, the main fix was changing the 'Presentation Options' in movie settings from "Allow movie to finish on its own" to "Wait to movie to finish before ending..." I have this set to 'trial' but I think either trial or event worked.

Katherine
Reply With Quote
cnsla
Junior Member
 
Join Date: Apr 2012
cnsla is on a distinguished road Posts: 14
Posted May 13th, 2015 #7
Quote:
Originally Posted by krnaish View Post
I think the problem was that I was ending the trial before the movie had ended on some trials, meaning that I movie windows remaining open and overloading the memory. From what i remember, the main fix was changing the 'Presentation Options' in movie settings from "Allow movie to finish on its own" to "Wait to movie to finish before ending..." I have this set to 'trial' but I think either trial or event worked.

Katherine
Thanks Hisham and Katherine : )
Reply With Quote
Tags
crash, movies, superlab 4.5
Thread Tools
Posting Rules
Forum Jump:
© Copyright Cedrus Corporation, 1991-2014.
All times are GMT -7. The time now is 06:36 PM.