I have recently been taking a look at your method of reducing memory allocation in magento by using a callback function when iterating through a product collection, I have managed to get it working fine apart from I am not able to pull any other information from the collection other than sku.
$product->getName() returns nothing however if you pull $product->getName() before you pass the collection through the walk() and into the callback it works.
Could you offer an explanation for this? I have made sure 'Name' is on my addAttributeToSelect() list.
I have recently been taking a look at your method of reducing memory allocation in magento by using a callback function when iterating through a product collection, I have managed to get it working fine apart from I am not able to pull any other information from the collection other than sku.
$product->getName() returns nothing however if you pull $product->getName() before you pass the collection through the walk() and into the callback it works.
Could you offer an explanation for this? I have made sure 'Name' is on my addAttributeToSelect() list.