Cs-Cart Php Fatal Error

PHP Fatal Error

Message

Allowed memory size of 402653184 bytes exhausted (tried to allocate 126157825 bytes)

Error at

app/lib/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php, line: 70

Backtrace

PHP Fatal Error Message

Allowed memory size of 402653184 bytes exhausted (tried to allocate 126157825 bytes)

Error at

app/lib/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php, line: 70

Backtrace

Any one can help??

Any one can help??

It looks like the images uploaded to products (or categories, etc.) are too big and GD library on your server fails to generate the thumbnails because of the lack of memory.

To resolve the issue you can increase the memory_limit directive value to at least 512MB. Please contact your server administrator about it. After this we recommend to upload optimized images anyway.

When the library processes the images, it requires a lot of resources and as a result, it faces the server limits. We recommend to optimize the images uploaded for products as in most cases images used in web are not required to have big resolution and size. So, you can easily decrease it.