ID:               43675
 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:

This was already submited as:
"Bug #43653 imagecreatefromjpeg error "
but [EMAIL PROTECTED] considered it is a bogus report.

It is not bogus. It is clearly using 32Mb (actually whatever you will
use, I tried even 256Mb) only to createfromjpeg a simple photo, which is
not correct.
There is no reason to use so much memory just for that operation.
Also, I believe that using 128mb I should open ANY jpg image of ~1Mb.

Or not ? :(


Previous Comments:
------------------------------------------------------------------------

[2007-12-26 00:49:52] xfreelancer at yahoo dot com

I already increased the memory_limit to 128M.

The result:
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to allocate 26320 bytes)"

However, it is not normal to receive such an error in case of a ~1mb
photo.

The only code is $ims=imagecreatefromjpeg($path);

Where can I send the file with the photo for more debug ?

------------------------------------------------------------------------

[2007-12-26 00:49:15] 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=43675&edit=1

Reply via email to