lately, I'm having trouble restoring course backups. The script ends with no error displayed, but in error_log I'm getting "Allowed memory size of [256MB] bytes exhausted".
Apparently, it happens only when Scorm packages are included and error_log points to the decode_backup_temp_info function, which decodes, uncompresses and unserializes various pieces of data. As it performs no check on data size, my guess is that when it comes to scorm packages, this function processes them in one piece and it runs out of memory.
So I'm asking if anyone has a clue about it. Specifically, if my guess mekes sense and, if so, expanding memory limit is the only fix.
Thanks in advance