forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: sanifair on February 01, 2008, 12:06:18 am

Title: Allowed memory size exhausted
Post by: sanifair on February 01, 2008, 12:06:18 am
I've just installed the modpack, everything seems fine
but when I batch add files I get an error (files not uploaded)

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 7776 bytes) in /home/user/public_html/gallery/include/picmgmt.inc.php on line 448


I've set up files size to 102400kb but there's no difference
I don't know what else should be changed

please help

Title: Re: Allowed memory size exhausted
Post by: Stramm on February 01, 2008, 08:33:45 am
Most probably you're trying to upload images that can't be processed by your server due to memory restrictions.
Please read the upload trouble shooting as it explains most, especially the php memory_limit
http://forum.coppermine-gallery.net/index.php?topic=24088.0
Using watermarking of corse results in consuming even more memory as the watermark needs to be kept in memory, too.
Try smaller (in size x,y) images and it should work or increase memory_limit or other bottlenecks.
Title: Re: Allowed memory size exhausted
Post by: Janakie on February 10, 2008, 06:02:06 pm
I have the same problem.

... or increase memory_limit or other bottlenecks.

How do I do that?
Title: Re: Allowed memory size exhausted
Post by: Nibbler on February 10, 2008, 06:04:19 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize