php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43653 imagecreatefromjpeg error
Submitted: 2007-12-21 13:46 UTC Modified: 2007-12-21 14:12 UTC
From: xfreelancer at yahoo dot com Assigned: pajoye (profile)
Status: Not a bug Package: GD related
PHP Version: 5.2.5 OS: CentOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 21 = ?
Subscribe to this entry?

 
 [2007-12-21 13:46 UTC] 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 is not created and a  fault error is generated.

Actual result:
--------------
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-21 14:12 UTC] pajoye@php.net
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 26320 bytes) in /home/test.php on line 4"

Increase your memory limit (memory_limit ini settings) if you like to read large images.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 10:01:33 2024 UTC