ID:               25127
 Updated by:       [EMAIL PROTECTED]
 Reported By:      henrik dot gebauer at web dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Mandrake 9.1
 PHP Version:      5 (latest CVS)
 New Comment:

What was the configure line you used to configure PHP?
(config.nice)



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

[2003-08-19 04:22:19] henrik dot gebauer at web dot de

I get the same error using the latest CVS version.

It seems to be luck if it works or not because after reloading the
script a few times it works.

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

[2003-08-18 09:18:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

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

[2003-08-18 08:44:52] henrik dot gebauer at web dot de

Description:
------------
Fatal error:  Allowed memory size of 8388608 bytes exhausted at
(null):0 (tried to allocate 7936 bytes) in
/mnt/win_e/hosts/tests/gallery-creator/step2.php on line 67

The line contains and imagecreatefromjpeg() call.

With reloading the script, the allowed memory size appears to grow.
After the 5th reload I get the error:

Fatal error:  Allowed memory size of 18901728 bytes exhausted at
(null):0 (tried to allocate 7936 bytes) in
/mnt/win_e/hosts/tests/gallery-creator/step2.php on line 67

I compiled PHP as a module for Apache 2 with --enable-memory-limit

Reproduce code:
---------------
<?php

$image = imagecreatefromjpeg('image.jpeg');
echo 'success';

?>

Expected result:
----------------
success

Actual result:
--------------
Fatal error:  Allowed memory size of 8388608 bytes exhausted at
(null):0 (tried to allocate 7936 bytes) in
/mnt/win_e/hosts/tests/gallery-creator/step2.php on line 67


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


-- 
Edit this bug report at http://bugs.php.net/?id=25127&edit=1

Reply via email to