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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xfreelancer at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 21:01:27 2025 UTC