-
Improvement
-
Resolution: Not a bug
-
Minor
-
None
-
3.5.8
-
None
-
MOODLE_35_STABLE
Error when mporting a large question file (around 360MB):
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 67108872 bytes) in /var/www/html/question/format.php on line 615
Call Stack
- Time Memory Function Location
1 0.0093 404520 {main}( ) .../import.php:0
2 1.0923 9727608 qformat_xml->importprocess( ) .../import.php:123
3 5.4069 9711472 qformat_xml->readdata( ??? ) .../format.php:312
4 7.0664 9711472 file ( ??? ) .../format.php:615
The issue seem to be fixed for smaller question file:
https://tracker.moodle.org/browse/MDL-50806
It wonder if the memory_limit can be raised based on the file size (or configurable) for question import.
- has been marked as being related by
-
MDL-50806 Question imports may result in memory exhaustion
-
- Closed
-