Open Cart Fatal error: Allowed memory size Issue

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 38312699 bytes) in /home1/eshoppaz/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 58

How do I go about resolving this issue?

Answers


You have to change the memory_limit on the root and within the admin folder, I noticed that nobody pointed this out and it worked for me.


If you have access to the php.ini file, set the memory_limit option to 128M.

If you don't have access to it, you can try to set it in the .htaccess with:

php_value memory_limit 128M

If you change it on php.ini file don't forget restart the server after change the value.

Your server have the memory_limit set to 64Mb and Open Cart need a little more (with your error it needs 36Mb more). Also i seen on other forums that people set memory_limit to 256M to avoid problems.

I hope this help you.


Need Your Help

Rewrite Rule for specific domain without specific directory

php .htaccess redirect mod-rewrite http-status-code-301

We have multiple shops on our server and are now trying to set one shop offline, but still allow our it to access the backend.