Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Memory Exhausted  (Read 2525 times)

0 Members and 1 Guest are viewing this topic.

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Memory Exhausted
« on: April 14, 2008, 12:05:13 am »

Suddenly got the following error on my gallery on all pages apart from admin:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 276368 bytes) in /home/lohan/public_html/freshcoppermine/include/functions.inc.php on line 2040

I've previously increased the memory and other sites (on the same server) running coppermine are functioning fine.

I've reinstalled a fresh coppermine with new db and no pictures/albums and I get the same error. Quite puzzled, any ideas?

Thanks
Gareth
Logged

ib2loud

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 77
  • I <3 CPG!
    • OKShowPics.com
Re: Memory Exhausted
« Reply #1 on: April 14, 2008, 12:44:42 am »

can you change your php.ini file to allow more memory?
Logged

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Memory Exhausted
« Reply #2 on: April 14, 2008, 09:05:13 am »

yeah I can but I don't think this should be necessary as I had previously increased memory_limit to 16MB and there aren't any very large pictures on this gallery.

Thanks
Gareth
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Memory Exhausted
« Reply #3 on: April 15, 2008, 07:51:17 am »

Performing a fresh install is not a bright idea. The script consumes memory, as it is being run on the server. What's the actual question?
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.