Debugger eats up all memory on index page
Components
Labels
Description
Context Information
Additional information (do not use)
Using PHP 4.3.9
Attachments
Activity

Dmitry Andrejev November 30, 2010 at 6:48 PM
Closing released 5.1.1 task.

Alex August 28, 2010 at 9:09 PM
Fix committed to [b]5.1.x branch/b. Commit Message:
Fixes #0000827: Debugger eats up all memory on index page

Dmitry Andrejev August 26, 2010 at 10:10 PM
Tested good. Very good improvement - please commit!

Alex August 14, 2010 at 2:11 PM
Patch "performance_improvement_to_menu_cache_builder.patch" queries all categories with one sql, instead of performing one sql to get children of each category during menu cache building.

Alex August 14, 2010 at 8:27 AM
On site, that has such a problem there was 1500 categories (that's templates from 4 enabled themes) and during menu cache building stage cache wasn't properly saved.
So attempt to build cache was made on each page resulting 1500 sqls at least and out of memory error at most.
Only can be tested on PHP4
Priority
Assignee

Reporter

Developer

Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Got this error (in web.log) while visiting index page of the site.
<b>Fatal error</b>: Allowed memory size of 52428800 bytes exhausted (tried to allocate 146 bytes) in <b>.../core/kernel/utility/debugger.php</b> on line <b>678</b>