Ask a Question related to PHP Bugs, Design and Development.
-
alebec at sita dot fr #1
#40593 [NEW]: imagecreatefrompng memory using
From: alebec at sita dot fr
Operating system: WIN2000
PHP version: 5.2.1
PHP Bug Type: Performance problem
Bug description: imagecreatefrompng memory using
Description:
------------
Hello, i just update PHP from V4.4.? to V5.2.1 on W2000 iis .
I use GD2 to convert png image file,
since PHP5, i need to set memory_limit=50M to load a png file with
imagecreatefrompng .
With php4 there is no pb with memory_limit=20M
My png file is [url]http://www.fairtec.fr/bug.png[/url]
Any explication ?
Reproduce code:
---------------
<?PHP
// error :(
ini_set( "memory_limit", "20M" );
$image=imagecreatefrompng ("bug.png");
?>
<?PHP
// ok :)
ini_set( "memory_limit", "50M" );
$image=imagecreatefrompng ("bug.png");
?>
--
Edit bug report at [url]http://bugs.php.net/?id=40593&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40593&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40593&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40593&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40593&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40593&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40593&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40593&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40593&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40593&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40593&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40593&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40593&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40593&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40593&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40593&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40593&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40593&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40593&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40593&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40593&r=mysqlcfg[/url]
alebec at sita dot fr Guest
-
#40593 [Opn->Bgs]: imagecreatefrompng memory using
ID: 40593 Updated by: tony2001@php.net Reported By: alebec at sita dot fr -Status: Open +Status: ... -
Flash Player 8 huge memory using during drag (all memory gone in few minutes) !!!
Hi, my name is Ladislav Sopko and I am the project manager for our mapping solution MapWorld. MapWorld is a dynamic flash based cartographic... -
Memory consumption of Ruby/mod_ruby combo on Apache [memory leak]
> I don't think so - I think all the modules are loaded when Apache is It didn't have anything to do with IfModules or even Apache. I had a... -
newbie: PHP 4.3.3: Call to undefined function: imagecreatefrompng()
I typed in the a program from Programming PHP, p. 14. Fatal error: Call to undefined function: imagecreatefrompng() in... -
AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing
We are running our company website on a win2k server running .NET framework 1.0 and IIS 5. The pages consist of mostly static content built from a...



Reply With Quote

