coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: PBa on January 21, 2005, 07:43:43 AM

Title: Memory size exhausted, but FAQ did not help
Post by: PBa on January 21, 2005, 07:43:43 AM
Hi,

I have a problem when uploading a picture of 2272x1704. I did some calculating based on the FAQ about this problem. I need about 15MB of memory to process this picture. I asked my provider to change the memory to 16MB (I'm very lucky that he did that ;D)

Now i get the same problem but i don't understand why, here's the errormessage:

Fatal error: Allowed memory size of 16777216 bytes exhausted at (null):0 (tried to allocate 9088 bytes) in /home/peter-baars/www/photo/include/picmgmt.inc.php on line 209

What realy triggers me is the part of (tried to allocate 9088 bytes) that same message was there with the same number of bytes when the memory was still on 12MB.

What am i doing wrong. ???


Title: Re: Memory size exhausted, but FAQ did not help
Post by: Joachim Müller on January 22, 2005, 09:48:26 AM
to add a pic of this huge size, you'll need much more memory. Doing so is not recommended (most people consider this a waste of resources, webspace and bandwidth), I suggest you resize on your client before uploading. If you must upload files with such huge dimensions, you'll need to have even more memory. Please note that there are other server setup vars that can keep you from uploading such huge pics, refer to the sticky threads on this board. What actual item in the faq are you refering to, maybe it needs clarification?

Joachim