memory_limit problem memory_limit problem
 

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]

Main Menu

memory_limit problem

Started by marceln, December 23, 2006, 09:58:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marceln

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1632 bytes) in /www/110mb.com/m/a/r/c/e/l/_/_/marcel/htdocs/gallery/include/picmgmt.inc.php on line 262


I know, i read the FAQ, i should increase memory_limit

but i have my memory_limit set on 16MB !

in faq you guys say that these 16MB are shared for whole gallery + uploading process, 

is there any way to lower Memory needs of gallery , so it would be more free space in memory for uploading pictures?

thanx

Stramm

the memory usage when you upload pics is not the image size

eg. a pic from my digicam (3504 x 2336 8bits 3channels -> 24bit color depth) needs approx 40mb mem

marceln

I am trying to upload picture 1600*1200 from my mobilephone (k750i)
i dont know picture depth, i think it is just classic image

Stramm

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
follow the upload troubleshoot guide

1600x1200 should not need more than 9-10mb