ID: 43757 User updated by: xfreelancer at yahoo dot com Reported By: xfreelancer at yahoo dot com Status: Open Bug Type: GD related Operating System: CentOS PHP Version: 5.2.5 New Comment:
Dear Pajoye, I have increased the memory limit from 32Mb, to 128Mb, then to 256Mb and so on. The bug/problem still appears. It seems that on SOME jpeg images (which are perfectly fine) PHP is eating MY ENTIRE memory. At the beginning I thought it's just one jpeg that generates this problem, but then I've seen the same error on different servers/configuration on our network (we have like 15 servers, located on different ISP etc.) Please investigate the problem and do not tell me over and over again to increase the memory limit because as I've said MANY TIMES I did that already and it is clear that PHP is eating the entire memory without reason. At the moment we already receive this error more than 50-60 times/day (we have many community websites where people are uploading their photos). Thank you. (I can provide full production enviroment for tests if needed) Previous Comments: ------------------------------------------------------------------------ [2008-01-05 05:53:45] xfreelancer at yahoo dot com Description: ------------ Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4 Reproduce code: --------------- $ims=imagecreatefromjpeg("90-9bb2.jpg"); Expected result: ---------------- $ims should contain the jpg photo. Actual result: -------------- Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43757&edit=1