I get this error Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3200 bytes) in /home/sambend1/public_html/piwigo/admin/include/functions_upload.inc.php on line 254
Doesn't make sense. If 67 mb of memory is allowed and it uses 3 and it becomes exhausted?
What should I do to fix this?
Hi samb,
samb wrote:
Doesn't make sense. If 67 mb of memory is allowed and it uses 3 and it becomes exhausted?
No, the PHP message is unclear. It means that PHP tries to allocate an additional block of 3002 bytes and this would go beyond the limit.
samb wrote:
What should I do to fix this?
What is the size of your file?
How do you upload it? (there are several ways to add photos)
Offline
3 megabytes
I tried ftp sync and normal upload and new/advanced uploader
It seems that you php.ini is set on 64M for the memory_limit setting. And adding a 3MB photo (which is not a "large" file by the way) should not be a problem at all.
The FTP sync takes even less memory.
Can you try pLoader to add photos? (ie Administration > Photos > Add > Piwigo Uploader)
Offline
the fileSIZE of a jpg is nothing from interest, the dimension widthxhigh of the picture is the important limit.
on my account i also have a memorylimit of 65mb, thats no problem with a 5 MB File from my Eos 20D (a noisy Original from a 8MP Camera), but a clean file from my 5D (12MP' Kamera) with a fileSIZE only 2Megabyte i can't convert, not enough memory.
JPG is Compressed, the reality in needing servermemory looks more like uncompressed TIF
Offline
mol wrote:
the fileSIZE of a jpg is nothing from interest, the dimension widthxhigh of the picture is the important limit.
You're right. samb what are the dimensions of your photo?
pLoader doesn't do resize on server, so you won't have this problem (but FTP+Synchronization does do resize so it should not have produced the error)
Offline