mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
515fc0447e
It's mostly addDocuments(), used by test_add_document_batch_large() with 100 big documents what requires a lot of ram although apparently, it's freed (partially) once ended. Just the peak usage remains high. In any case, isolating that test to avoid the non-freed side of it to consume too much memory for the rest. (We allow "only" 2GB). Still, I think that there is a good work about to detect which tests are leaking / consuming too much, I'd bet there are a bunch running completely out of control.