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

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

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

Leave a Reply

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