Fatal Error: Allowed memory size Fatal Error: Allowed memory size
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal Error: Allowed memory size

Started by giovane234, January 04, 2020, 11:37:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

giovane234

After upgrading coppermine to the latest version, I started to get the error "FATAL ERROR: ALLOWED MEMORY SIZE OF XXXXXXX EXHAUSTED at line 403 of file /include/imageobject_gd.class.php" when uploading photos over 4000px.

So I tried switching the resizing method to ImageMagick and everything worked perfectly. Any idea why it doesn't work with GD Version 2.x?

phill104

GD can use quite a bit of memory to manipulate images. So what is happening is the server is using more memory than your hosting allows. Depending on your hosting you may be able to increase that through the PHP.ini file or a .htaccess file. There are plenty of topics on this throughout these forums but basically it boils down to having a chat with your host to ask if and how it can be done.
It is a mistake to think you can solve any major problems just with potatoes.