-
Task
-
Resolution: Won't Do
-
Minor
-
None
-
3.1.2
-
None
-
MOODLE_31_STABLE
In the issue MDL-55987 it was confirmed that the current MYSQLI_STORE_RESULT mode of mysqli query can really lead to memory issues as the inline comments predict.
Recent versions of the mysql driver (available with mysqlnd only, since PHP 5.6.0) offer new mode MYSQLI_STORE_RESULT_COPY_DATA that does not seem to be fully documented yet, but it expresses better behaviour in terms of memory management (with the trade off of the perceived performance but we do not have any stats figures at this moment).
See the whole story in MDL-55987 comments.
- has been marked as being related by
-
MDL-55987 Gradebook calculation may need a lot of memory
- Closed