/ Published in: PHP

This fixes the way Magento imports data as it just keeps adding ‘straight join’ to the array which uses a lot of memory if your importing a lot of products and will kill the import.
Replace this function in /lib/Varien/Db/Select.php
This has been fixed in the next update and a discussion can be seen here...
http://www.magentocommerce.com/boards/viewthread/113901/
Replace this function in /lib/Varien/Db/Select.php
This has been fixed in the next update and a discussion can be seen here...
http://www.magentocommerce.com/boards/viewthread/113901/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function __construct(Zend_Db_Adapter_Abstract $adapter) { parent::__construct($adapter); self::$_joinTypes[] = self::STRAIGHT_JOIN_ON; } }
URL: http://blog.ewtechnologies.com/magento-2/magento-memory-leak-1-4-1-1/
Comments
