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

Exporting All Products = Fatal error: Allowed memory size of 33554432 bytes exhausted. Please help
 
Roscosys
Jr. Member
 
Total Posts:  21
Joined:  2009-05-11
 

Hi, I have 3340 products in my store and want to export all of these and add the next 2500 to these, however i’m getting the error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 47 bytes) in /home/djgear/public_html/lib/Zend/Db/Select.php on line 655

I did up/change this in my .htaccess file:

## adjust memory limit

# php_value memory_limit 256M
php_value memory_limit 256M
php_value max_execution_time 36000

But it didn’y work. Does anyone know how I can fix this?

Thanks
Rosco

 
Magento Community Magento Community
Magento Community
Magento Community
 
Discovery
Enthusiast
 
Total Posts:  767
Joined:  2007-12-29
 

If you put a phpinfo.php file in your webroot for Magento, a simple file with just the line:

<?php phpinfo() ?>

Then open the file in your browser, then how much memory does it say?

Restart httpd and it will probably be the same.

If I were you I would make the change in php.ini, usually /etc/php.ini, but it could be different - see what your phpinfo says…

After changing php.ini service restart httpd to get it read in again.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top