|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-02 05:46 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
[2010-06-02 05:46 UTC] aharvey@php.net
[2010-06-02 09:25 UTC] alex dot aulbach at mayflower dot de
-Status: Feedback
+Status: Open
[2010-06-02 09:25 UTC] alex dot aulbach at mayflower dot de
[2010-06-02 09:48 UTC] alex dot aulbach at mayflower dot de
[2010-06-02 10:07 UTC] aharvey@php.net
-Status: Open
+Status: Duplicate
[2010-06-02 10:07 UTC] aharvey@php.net
[2010-06-02 11:02 UTC] alex dot aulbach at mayflower dot de
[2010-06-02 11:10 UTC] alex dot aulbach at mayflower dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 03:00:01 2025 UTC |
Description: ------------ We got this error: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2194780439 bytes) in After examining the reason, I found this test to reproduce it. Because we don't have 5.2.13 in production, this is only tested with 5.2.12, but as far as I know, there was no change here, since that, so it should also be reproduce able with 5.2.13. Test script: --------------- <?php $string = 'Короткое замыкание в цепи датчика емкостного водонагревателя'; error_log(phpversion()); error_log ("1"); error_log (iconv_mime_encode( 'Subject', $string, array( 'scheme' => 'Q', 'input-charset' => 'utf-8', 'output-charset' => 'utf-8', 'line-length' => 74, 'linke-break-chars' => "\r\n") )); error_log("2"); Actual result: -------------- The script prints out only "1" and breaks down with the fatal error. Take care! It eats all memory if no limits are here!