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_limit problem  (Read 2811 times)

0 Members and 1 Guest are viewing this topic.

marceln

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
memory_limit problem
« on: December 23, 2006, 09:58:32 am »

Code: [Select]
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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: memory_limit problem
« Reply #1 on: December 23, 2006, 12:26:32 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: memory_limit problem
« Reply #2 on: December 23, 2006, 03:23:12 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: memory_limit problem
« Reply #3 on: December 23, 2006, 04:01:58 pm »

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

1600x1200 should not need more than 9-10mb
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.