coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: kingspice on April 14, 2008, 12:05:13 AM

Title: Memory Exhausted
Post by: kingspice 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
Title: Re: Memory Exhausted
Post by: ib2loud on April 14, 2008, 12:44:42 AM
can you change your php.ini file to allow more memory?
Title: Re: Memory Exhausted
Post by: kingspice 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
Title: Re: Memory Exhausted
Post by: Joachim Müller 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?