-
- tfittsy

-
Total Posts: 12
Joined: 2007-12-16
|
I get this error when I try to manage categories: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /home/user/public_html/lib/Varien/Data/Tree/Dbp.php on line 179
I used sql inserts to insert these categories so that they would match the categories from my current store and also because inserting 750 categories by hand is a pretty big obstacle in moving over to magento. My inserts for each category is as below. The category page loads fine if I limit the inserts to 150 categories. Much higher and it’s the same error every time.
insert into catalog_category_entity (entity_id, entity_type_id, attribute_set_id, parent_id, created_at, updated_at, is_active, path, position) values (4,3,3,1,now(),now(),1,’1/4’,4);
insert into catalog_category_entity_int (entity_type_id, attribute_id, store_id, entity_id, value) values (3,31,0,4,5);
insert into catalog_category_entity_int (entity_type_id, attribute_id, store_id, entity_id, value) values (3,32,0,4,5);
insert into catalog_category_entity_int (entity_type_id, attribute_id, store_id, entity_id, value) values (3,40,0,4,5);
insert into catalog_category_entity_text (entity_type_id, attribute_id, store_id, entity_id, value) values (3,25,0,4,’Sports’);
insert into catalog_category_entity_text (entity_type_id, attribute_id, store_id, entity_id, value) values (3,28,0,4,’Sports’);
insert into catalog_category_entity_text (entity_type_id, attribute_id, store_id, entity_id, value) values (3,29,0,4,’Sports’);
insert into catalog_category_entity_text (entity_type_id, attribute_id, store_id, entity_id, value) values (3,44,0,4,’’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,22,0,4,’Sports’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,24,0,4,’sports’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,27,0,4,’Sports’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,30,0,4,’PRODUCTS’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,39,0,4,’’);
insert into catalog_category_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) values (3,43,0,4,’’);
|