#95 open
Charles Brunet

SiteSearch out of memory

Reported by Charles Brunet | January 2nd, 2009 @ 03:09 PM

I have a lot of items in collections. I get this error each time SiteSearch try to update indexes:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in /home/cbrunet/git/sitellite/inc/app/sitesearch/lib/Zend/Search/Lucene/Storage/File.php on line 271

Comments and changes to this ticket

  • lux

    lux January 4th, 2009 @ 02:50 PM

    • State changed from “new” to “open”

    Let's see if this commit fixes it:

    http://github.com/lux/sitellite/...

  • Charles Brunet

    Charles Brunet January 7th, 2009 @ 10:16 AM

    nope...

    I still get the same memory exhausted error.

  • lux

    lux January 12th, 2009 @ 02:17 AM

    Before suggesting maybe we increase the default memory limit in the script itself, since that may only be a stop-gap measure, I'd like to try something else. I'm wondering if you try upgrading the copy of the Zend Framework in sitesearch/lib/Zend to the latest release if that helps at all. It could use an upgrade either way, and it may alleviate the problem through bug fixes in the search indexer code itself. Let me know if that helps at all when you have a chance.

  • Charles Brunet

    Charles Brunet January 13th, 2009 @ 06:20 AM

    Upgrading Zend Framework didn't solved my problem. But I realized that the problem was when indexing files in sitellite_filesystem. Commenting out line 108 (extractor_run) in sitesearch scheduler task solved the problem. I guess this is because I have a dozen PDF files of 8-12 MB each...

  • lux

    lux January 13th, 2009 @ 04:58 PM

    Ah I see. It may need an ini_set('memory_limit') in that case after all. I added a couple extra unset() calls to try to free the memory more explicity, so that may help as well. Just checked that into github now.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages