php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40447 memory exhausted
Submitted: 2007-02-12 11:57 UTC Modified: 2007-02-12 12:03 UTC
From: duck at obala dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.1 OS: Linux
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: duck at obala dot net
New email:
PHP Version: OS:

 

 [2007-02-12 11:57 UTC] duck at obala dot net
Description:
------------
Image is 300k big and when I try to load it with imagecreatefromjpeg fails with Fatal error: Allowed memory size of 8388608 bytes exhausted .... 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-12 12:03 UTC] tony2001@php.net
Before processing GD library converts all the images into its internal format, which takes a lot more than jpeg.
The error message is expected, increase the memory_limit if you really need to process 300k JPEG images.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 20:01:32 2025 UTC