Using VBO to set some date fields on 160 records using batch mode ("Maximize Batch API performance" checked or not) but it fails 1/3 of the way through:
An error occurred. /batch?id=397&op=do { "status": true, "percentage": 34, "message": "Remaining 1 of 1.\x3cbr/\x3ePerformed \x3cem\x3eModify node fields\x3c/em\x3e on 7 nodes." }<br /> <b>Fatal error</b>: Allowed memory size of 268435456 bytes exhausted (tried to allocate 302938 bytes) in <b>/usr/local/www/apache22/data/includes/database.mysql-common.inc</b> on line <b>33</b><br />
PHP memory is 256MB
Views version: 6.x-2.16
The Drupal log showed an error that appears to be related:
Type filefield
Date Friday, January 20, 2012 - 16:44
User admin_jeff
Location http://192.168.1.13/batch?id=393&op=do
Referrer http://192.168.1.13/batch?op=start&id=393
Message FileField was trying to display the file sites/default/files/images/property_photos/DSC_0918.JPG, but it does not exist.
Severity warning
The content type is large with many fields. Seems like the error may be eating up memory that the memory estimator couldn't account for or something.
Comments
Comment #1
druplicate commentedRan the same view on the production server but it didn't run out of memory (batch, non optimized mode), however the view was displaying 183 rows but the confirmation screen said there were 361 and the final screen said it processed 361 rows. Strange. That was with VBO version 6.x-1.11, then I updated the module to 6.x-1.12 and had the same weirdness.
The production server is running Views version 6.x-2.14
Comment #2
p4trizio commentedHello!
I had similar problem and I tried to rise up the memory without good result.
The batch was performing sending messages on just 2000 records but after a little while the error appeared.
I solved investigating on Apache webserver and also on mod_fastcgi. Look at the number of concurrent processes allowed.
Now my batch is performing well with a memory of 128MB :-)
UPDATE:
Sorry, i just read better your issue and it looks like you need more memory and also to check missing files.
Comment #3
bojanz commented#2 is correct.