memory_limit problem memory_limit problem
 

News:

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

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