Memory exhausted restoring course

Re: Memory exhausted restoring course

by Ken Task -
Number of replies: 1
Picture of Particularly helpful Moodlers

What's your max_input_vars setting?   Default me thinks is 1000 ... might want to bump that to 2,3,or 4000.   Think all those parts/pieces to a SCORM are treated as variables?

'spirit of sharing', Ken


In reply to Ken Task

Re: Memory exhausted restoring course

by Andrea Pelli -

Thanks Ken, max_input_vars looks fine, it's set to 10K.

If I catch your second question correctly, my assumption is based on the fact that the script ends in error in the middle of that decoding+unzipping function, so my guess is it treats very large pieces of scorm data in one variable.

More clues: after raising memory_limit to 512M, restore still fails, but without the memory exhausted message in the error_log. Besides, I didn't mention that the script ends before even showing a progress bar.