Magento Forum

   
memory errors in Zend/Db/Statement/Pdo.php
 
laserbeam
Jr. Member
 
Total Posts:  28
Joined:  2008-07-31
 

I just upgraded to v.1.2.1 from v.1.2.0.3 and now it shows fatal errors whenever placing an order by adding items to cart, esp. for large quantity, error like this “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 85 bytes) in /home/xxxxx/public_html/lib/Zend/Db/Statement/Pdo.php on line 294” shown in MY CART under Recently added item(s)

 
Magento Community Magento Community
Magento Community
Magento Community
 
resonance
Member
 
Avatar
Total Posts:  62
Joined:  2008-09-24
 

Might need to bump up the memory size in php.ini

 
Magento Community Magento Community
Magento Community
Magento Community
 
pappasaa
Jr. Member
 
Total Posts:  6
Joined:  2009-03-10
 

why does this cart use so much memory. Cant you write things to null in the database so you dont get errors.  I am getting the same error just because i have 2000+ manufacturers. Any updates on this?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 85 bytes) in

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1155
Joined:  2008-04-24
 

A 32MB memory limit is too low for Magento. Try with 128MB at least. The complex EAV database architecture and queries consumes a lot of memory.

FYI: version 1.3, which is due in late March, will introduce a flat catalog module for the frontend which is expected to increase the performance and hopefully reduce the memory/CPU consumption.

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