Edit report at http://bugs.php.net/bug.php?id=43757&edit=1
ID: 43757 Updated by: [email protected] Reported by: xfreelancer at yahoo dot com Summary: imagecreatefromjpeg error Status: Bogus Type: Bug Package: GD related Operating System: CentOS PHP Version: 5.2.5 Assigned To: pajoye New Comment: There was no bug to fix here. And the error only says what PHP was trying to allocate at this exact point, which does not mean that only this amount of memory is used. Previous Comments: ------------------------------------------------------------------------ [2010-04-28 18:49:47] rune dot waage at gmail dot com Hi, is the problem solved? I see that "xfreelancer at yahoo dot com" which reported the issue had his memory limit set to 256Mb, and still the problem occured. So I don't think the last post in this thread solved his problem. I find it strange that when PHP tries to allocate 26320 bytes, the error message tells you that you uses more then 33554432 bytes. ------------------------------------------------------------------------ [2008-01-25 18:26:16] [email protected] 33554432 means around 33MB. Your images are 2186 x 2112, each image will use around 24MB. That lets approximatively 8-9MB for all other PHP operations. It is definitively a memory limit case and not a bug. To confirm it, the images can be read by PHP and GD smoothly, with or without memory_limit. The solution is to increase your memory limit to the current default 128MB (it is the default for a reason). ------------------------------------------------------------------------ [2008-01-25 14:38:25] kiclaw at o2 dot pl Here are two sample images causing this problem: http://static.geozeta.pl/content/images/S601.JPG http://static.geozeta.pl/content/images/S602.JPG ------------------------------------------------------------------------ [2008-01-13 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-01-05 11:47:24] [email protected] Please provide an example of images causing this problem, paste a link to them here. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=43757 -- Edit this bug report at http://bugs.php.net/bug.php?id=43757&edit=1
