Closed (duplicate)
Project:
Apache Solr Attachments
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2012 at 22:28 UTC
Updated:
25 Sep 2012 at 17:27 UTC
I've increased the PHP memory limit to 256MB, but I'm getting this error for each cron run:
<b>Fatal error</b>: Allowed memory size of 268435456 bytes exhausted (tried to allocate 118268981 bytes) in <b>/var/www/vhosts/xxx.xxx.com/httpdocs/sites/all/modules/acquia_connector/acquia_agent/acquia_agent_streams.inc</b> on line <b>182</b><br />
I'm using Acquia search and the search file attachment modules. Cron settings are 25 items per run for acquia_search and 10 nodes/30 seconds for the attachment module. Disabling the attachment module seems to fix things. I'm cross posting this in the qcquia connector issue queue.
Comments
Comment #1
sterndata commentedI've tried the .dev version, too, and have the same problem. It appears that it's trying to push through a file that's too large.
Is there a way to limit file size? Or to bail out cleanly?
Comment #2
nick_vhyou could add an exclude hook that removes it from the indexing process after a specific check, please see regular apachesolr docs for that.
Comment #3
sterndata commentedHow do I find out which node(s) to exclude? I guess I need to hack the module to do some better error reporting first. Does that make sense?
Comment #4
sterndata commentedSee new post in http://drupal.org/node/1706542
Comment #5
jhedstromMarking as a duplicate of #1251308: File Size Limit.