We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

problem adding pics | Forum

Nuevo
Nuevo Jun 9 '11
hi there
something happend and i dont know what can it be


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2436 bytes) in /home/mundohot/public_html/ow_libraries/wideimage/TrueColorImage.php on line 54

that was trying to up 4 pics 1.29MB TOTAL
any idea?

bR
Nuevo
Nuevo Jun 9 '11
aditional info
the pics are
1920x2560 pixels
can that be the issue?
Den Team
Den Jun 10 '11
Yes, it is :) You need to increase memory_limit config in your php.ini file.
Nuevo
Nuevo Jun 10 '11
my hosting said memory limit is set to 32mb!
its that ok?
The Forum post is edited by Nuevo Jun 10 '11
Den Team
Den Jun 13 '11
The amount of needed memory for uploading every image can be calculated by this formula:
pic's width * pic's height * 3 / (1024*1024) = the amount of Megabytes.
The more images you try to upload, the memory you need. Your error message means that there are not enough memory (32Mb) to upload your photos :)