ZF-106: PHP allowed memory exhausted fatal error (TRAC#112)

Issue Type: Bug Created: 2006-06-21T21:55:42.000+0000 Last Updated: 2007-07-05T14:43:09.000+0000 Status: Resolved Fix version(s): - 0.7.0 (18/Jan/07)

Reporter: Zend Framework (zend_framework) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: - ZF-88



In playing around with the Lucene_Search tool, I ran into a PHP Fatal error when trying to load large amounts of data (actually, not all that much data, but around 200,000 varchar(100) text fields): PHP FATAL ERROR: Allowed memory size of 104857600 bytes exhausted (tried to allocated 119 bytes) in Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php on line 65. and PHP FATAL ERROR: Allowed memory size of 104857600 bytes exhausted (tried to allocated 64 bytes) in Zend/Search/Lucene/Index/SegmentWriter.php on line 480.

I am curios if there are any known restrictions on the amount of data you can use when building the Lucene search documents?


Posted by Zend Framework (zend_framework) on 2006-06-21T21:56:10.000+0000

06/03/06 14:49:59: Modified by

Actually, this is just a limitation on the memory of my box for building a large index. So, it looks like I will have to create multiple segments to achive my needs. On the Lucene site, it indicates there should be an ImageWriter->optimize() function to help optimze indexes, yet if I call this on the Zend_Search_Lucene object, it appears as if this is not a valid method. Is this scheduled to be ported over?

Posted by Jayson Minard (jayson) on 2006-07-09T00:40:34.000+0000

another one of the memory related issues, assign to the version where you think these will be fixed. I put it in 0.3.0 as a placeholder.

Posted by Elisamuel Resto (user00265) on 2006-07-30T21:58:13.000+0000

This was the same ticket from ZF-88 that was ported over by the Alexander Veremyev, aparently this was ported over after that, closing duplicate.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.