One of the main reasons I want to use this module is that I have a bunch of tasks to run, and if they're all run in one pass, the cron script exceeds the amount of memory allowed for PHP. Could we add some sort of check on available memory with each job dequeue, and maybe stop processing if we're some % within the limit?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | memory_limit-878174-2.patch | 1.02 KB | jtsnow |
Comments
Comment #1
jtsnow commentedI needed this as well. Even seemingly harmless functions like node_save() can eat up all your memory if used repeatedly. In my case, I was importing data and saving them as nodes. Here is a patch that solves the problem.