After adding a new component [J! 1.0.10] in backend, I get:
Code:
Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 42 bytes) in /srv1/www/my_site.org/subdomains/www/administrator/modules/mod_fullmenu.php on line 176
when running com_installer (Menu: Installers->Components). It happened after I added a new component. I found similar threads, where users experienced that after
adding i.e. new menu. In my case all other admin functions works well and the new component works as well perfectly.
It's obvious what is happenning - some script failure or leak causes to recursively read smth. and floods memory, but I have no idea how to analyze it and fix it.
I belive there should be some way to
consolidate database, which might/should help, but I didn't find such a function...
--------------------------------------
UPDATE: I've just found, that on the row 176 in mod_fullmenu.php is a start of loop:
Code:
foreach ($comps as $row) {
and the $comps is defined on line 173:
Code:
$comps = $database->loadObjectList(); // component list
--------------------------------------
Any suggestions?