Jump to content

Memory Limit Error


Recommended Posts

I am running PrestaShop 1.5.1.0 and am having a problem when I go to add 10 or more products to my cart. After a certain number, I get this error:

 

Fatal error: Out of memory (allocated 278134784) (tried to allocate 77 bytes) in /home//public_html/classes/ObjectModel.php on line 1465

 

I've spoken with my host and they upgraded my memory limit to 512M (it also says 512M in phpinfo.php)

 

I also have this in config/config.inc:

 

/* Improve PHP configuration to prevent issues */

ini_set('memory_limit','512M');

 

Anyone know of anything else I can try?

Link to comment
Share on other sites

Yeah after doing everything above, the exact error is still occuring. Because it still says "allocating 278134784" I am thinking for some reason that it did not in fact increase to 512MB.

 

Are there other settings somewhere in Prestashop besides the config.inc file that I would need to change the memory limit?

Link to comment
Share on other sites

×
×
  • Create New...