Active
Project:
Job queue
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2010 at 20:40 UTC
Updated:
19 Sep 2011 at 17:55 UTC
Jump to comment: Most recent file
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.