Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19544

Showing/hiding a large number of objects generates fatal error.

    XMLWordPrintable

    Details

      Description

      When showing or hiding a large number of objects, a fatal error is generated. PHP degug generates the following output:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/45ezfc.com/lib/ezdb/classes/ezmysqlidb.php on line 509
      Call Stack: 0.0001 642304 
      
      1. {main}() /var/www/45ezfc.com/index.php:0 0.0497 7444272 
      2. eZModule->run() /var/www/45ezfc.com/index.php:716 0.0499 7470000 
      3. eZProcess::run() /var/www/45ezfc.com/lib/ezutils/classes/ezmodule.php:1571 0.0500 7470528 
      4. eZProcess->runFile() /var/www/45ezfc.com/lib/ezutils/classes/ezprocess.php:38 0.0501 7488552 
      5. include('/var/www/45ezfc.com/kernel/content/hide.php') /var/www/45ezfc.com/lib/ezutils/classes/ezprocess.php:63 0.0839 13787696 
      6. eZContentOperationCollection::changeHideStatus() /var/www/45ezfc.com/kernel/content/hide.php:45 0.0848 13800136 
      7. eZContentObjectTreeNode::unhideSubTree() /var/www/45ezfc.com/kernel/content/ezcontentoperationcollection.php:1063 0.2499 13813104 
      8. eZContentObjectTreeNode::clearViewCacheForSubtree() /var/www/45ezfc.com/kernel/classes/ezcontentobjecttreenode.php:5848 21.5253 133848968 
      9. eZContentCacheManager::clearContentCacheIfNeeded() /var/www/45ezfc.com/kernel/classes/ezcontentobjecttreenode.php:5929 21.5253 133849128 
      10. eZContentCacheManager::clearObjectViewCacheIfNeeded() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:989 21.5254 133849128 
      11. eZContentCacheManager::clearObjectViewCache() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:765 21.5254 133849128 
      12. eZContentCacheManager::nodeList() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:703 21.5261 133855376 
      13. eZContentCacheManager::nodeListForObject() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:674 21.5293 133871384 
      14. eZContentCacheManager::appendKeywordNodeIDs() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:531 21.5293 133871856 
      15. eZContentObject->contentObjectAttributes() /var/www/45ezfc.com/kernel/classes/ezcontentcachemanager.php:209 21.5294 133874144 
      16. eZMySQLiDB->arrayQuery() /var/www/45ezfc.com/kernel/classes/ezcontentobject.php:2019 21.5306 133927200 
      17. mysqli_fetch_array() /var/www/45ezfc.com/lib/ezdb/classes/ezmysqlidb.php:509 Fatal error: eZ Publish did not finish its request
      
      The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/* or by enabling 'DebugOutput'
      
      Steps to reproduce

      1. Configure PHP to display errors by setting "display_errors=On" on php.ini;
      2. Create a large number of objects on eZ Publish (created 2000 articles on 'articles' folder using loremipsum extension);
      3. Show or hide all objects (right-clicked on 'articles' folder and selected Advanced->Hide / unhide). After a few moments, the fatal error message will be displayed. eZ Publish's error log reports no errors at all, but php error reporting feature offers more clues.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                no@ez.no Nuno Oliveira
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 54 minutes
                  3h 54m