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: allowed memory is the same of Out of memory ???  (Read 2313 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
allowed memory is the same of Out of memory ???
« on: March 01, 2007, 11:57:33 pm »

My error message is this:

Fatal error: Out of memory (allocated 74711040) (tried to allocate 24576 bytes) in /var/www/html/include/

What do I have to do?
I don't have that php.ini  file.... or I just don't know where it is :/ .......

Another thing, is the same 'Allowed memory size of XXXXXXX bytes exhausted at (null)' that 'Out of memory'??

Someone who wants to help me out with this?

I'm trying to upload ultra hi-res pictures, I know that's the problem... but I can't find php.ini.... where it is? I'm the admin but..... ok I'm so n00b <_<
Thanks in advance!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: allowed memory is the same of Out of memory ???
« Reply #1 on: March 02, 2007, 07:48:37 am »

Error Message:

Fatal error: Allowed memory size of XXXXXXX bytes exhausted at (null):0 (tried to allocate XXXX bytes) in /var/www/html/include/

Meaning:  You have exceeded the memory allotment given to you in php.ini

Possible causes:

This error occurs when using GD and attempting to upload a high resoltuion image.  It's not the size of the file that matters here; it's the number of pixels that determine memory use in GD. 


Alternative 1 (ideal):Increase the memory limit allocation in php.ini. You must be the server's administrator to do this.


If you are unable to change php.ini settings yourself, you can always ask your server administrator to change this for you.  However, many administrators will be reluctant to do so, as this setting will affect everyone on a shared server.  A higher memory limit requires reducing the number of people who can be hosted on the same server in order to maintain server stability. This reduces profitability, etc.

If you cannot change php.ini, you should read alternatives 2 and 3.
Pages: [1]   Go Up

Page created in 0.024 seconds with 19 queries.