Allowed Memory Size Exhausted In TomatoCart

This error happens when your memory is not big enough to execute the php code (uploading large images, deleting numerous products, sending mass mails etc). You would then have to enlarge the memory allocated for PHP.

Sample Error:
Fatal error: Allowed memory size of 536870912 bytes exhausted

Solution:
Apply one of solutions bellow to increase the limit to 64MB, 128MB, 256MB or 512MB, depending on host.

1. Edit php.ini
memory_limit = 128M;

2. Or put code below to .htaccess
php_value memory_limit 128M

If unluckily neither solution works, contact your hosting provider  For most shared hosting, there is maximum memory_limit. You can’t set memory-limit to 64Mb if you get max 32Mb.

Looking for quality TomatoCart Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , | Posted under TomatoCart | RSS 2.0

Author Spotlight

Jack Yin

Jack Yin

TomatoCart Developer & Co Founder - Arvixe Web Hosting / TomatoCart Community Liaison

Leave a Reply

Your email address will not be published. Required fields are marked *


9 + 6 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>