I have created a module inside admin, which is based on Gold rates, if admin update the gold rates for specific Carat then it will update the prices for that Carat products.
Now my problem is that, if there are less no. of products like 400, it is working fine, but when there are around 2000 products it updates the few products and then gives the 500 internal server error.
I have written the code as per the guidelines mentioned in the URL:http://www.atwix.com/magento/working-with-large-collections/
Please Please suggest, and help me.