Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.0, 4.7.0-dev, 4.6.0
-
None
Description
With a large enough database, or a small enough memory size for PHP, the script fails with an "allowed memory size exhausted" error. the cause is that all the entries in the DFS table are fetched into memory.
the script should be allowed to run successfully no matter what the amount of memory is dedicated to the PHP.
Steps to reproduce
make enough content to have more 100k rows in the ezdfsfile. reduce the max_memory for the PHP script to run to 1M or less. keep reducing the memory or adding content, and eventually the script breaks.