Question Authors' Forum

time limit exceeded

 
Picture of Anton Dil
time limit exceeded
by Anton Dil - Saturday, 3 February 2018, 3:17 AM
 

I've had a student find an interesting way of getting a question wrong involving using java timers, leading to this error in which I presume a time allowance was used up, but it's not a feature I've seen documentation on. Can anyone shed some light on this please?

Thanks,

Anton

Picture of Richard Lobb
Re: time limit exceeded
by Richard Lobb - Saturday, 3 February 2018, 10:05 AM
 

Hi Anton

Are you just wondering about the time limit exceeded error? Any job has a time limit on it so it gets thrown out if it's stuck in a loop or just consuming too much CPU resource. The default limit on Jobe is 5 seconds. You can override this in the question prototype, or you choose a different value for a specific question, by

  1. Clicking the customise box
  2. Opening the Advanced customisation section
  3. Entering a non-blank value for TimeLimit (secs)

There is an upper limit of 30 seconds enforced by the jobe server, for overall security reasons.

Richard

Picture of Anton Dil
Re: time limit exceeded
by Anton Dil - Monday, 5 February 2018, 10:30 PM
 

Hello Richard,

I guess that's what it must be... I didn't spot this setting. Thank you.

Anton