Advanced search  


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

Pages: [1]   Go Down

Author Topic: Fatal Error: Allowed memory size  (Read 4959 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Fatal Error: Allowed memory size
« on: January 04, 2020, 11:37:00 pm »

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?


  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
Re: Fatal Error: Allowed memory size
« Reply #1 on: January 07, 2020, 08:06:30 pm »

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.
Pages: [1]   Go Up

Page created in 0.018 seconds with 20 queries.