Joomla 1.6 JCategories::get() method produces 'PHP Fatal error: Allowed memory exhausted' in custom MVC component
问题 I'm implementing a custom MVC component following the Joomla 1.6 Documentation. I am running into a problem when trying to use JCategories::get() to obtain a list of categories and their children from com_component . I receive the following error: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 125306881 bytes) If I do not issue a print_r($this->items); to list the items, I do not receive an error. If I change the line $categories = JCategories: