Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Product Model Save Memory Leak
 
Danny D
Jr. Member
 
Total Posts:  6
Joined:  2009-08-01
 

Food for thought

Has anyone tried the clearInstance() method

PDF for reference

[url=http://www.magentocommerce.com/images/uploads/PHP_Garbage_Collector_final2.pdf]PHP Garbage Collector and Magento
[/url]

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mirasvit
Guru
 
Avatar
Total Posts:  639
Joined:  2009-08-22
 

When a large number of goods or attributes need to be saved, backend works very slow, as each time you save data the system re-indexes the goods through the entire catalog.

Asynchronous Re-indexing is a solution of this problem. When a product or category is saved it is not immediately re-indexed, but put into a queue. The queue is re-indexed in the background. This greatly speeds up the backend. This mechanism is implemented by using an extension of http://mirasvit.com/magento-extensions/magento-asynchronous-reindex.html

 
Magento Community Magento Community
Magento Community
Magento Community
 
tzyganu
Mentor
 
Avatar
Total Posts:  2205
Joined:  2009-11-18
Bucharest, Romania
 

Or you can set the indexes to ‘manual reindex’, modify your categories and products (and others) and reindex everything when you are done.
Or via cron when the traffic is low (usually at night if you target a specific area - country, countries).

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2