ID: 41615 Comment by: jetmah at gmail dot com Reported By: sms at inbox dot ru Status: No Feedback Bug Type: Unknown/Other Function Operating System: Windows 2000 SP4 PHP Version: 5.2.3 New Comment:
I have the same error in php-5.2.3-Win32, too. Previous Comments: ------------------------------------------------------------------------ [2007-06-19 01:50:34] jarit at qq dot com I have the some proplem too. I set memory_limit to 1024M, but it's no use. I use: php 5.2.3-win32 apache 2.2.0 why does the error "out of memory" happen? thinks. ------------------------------------------------------------------------ [2007-06-15 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-06-08 21:47:21] pepegsay at hotmail dot com I think that this is a bug which requires more than a simple script to reproduce. I am receiving similar results on our, primarily, phpBB site after upgrading to 5.2.2 today. The sits is running on Windows 2003 and Apache. Out of memory (allocated 1048576) (tried to allocate 393216 bytes) Out of memory (allocated 1048576) (tried to allocate 393216 bytes) Out of memory (allocated 1048576) (tried to allocate 393216 bytes) Out of memory (allocated 1048576) (tried to allocate 393216 bytes) Out of memory (allocated 786432) (tried to allocate 393216 bytes) Out of memory (allocated 1310720) (tried to allocate 393216 bytes) Obviously, I do not have a random amount allocated to memory_limit, and a ini_get returns the real value which is 32M. We received similar errors in php 5.1.4 but they were only logged in the Apache logs. ------------------------------------------------------------------------ [2007-06-07 08:12:31] [EMAIL PROTECTED] Sorry, we can't fix something we can't reproduce. ------------------------------------------------------------------------ [2007-06-07 08:07:00] sms at inbox dot ru I don't see a way to do it. I can't cut a part of a _huge_ board script. If it was a specific code construction I could do some tests and represent it here... I had PHP 5.2.2 running for ~32 hours and it generated more than 800 memory errors. My stats show ~40,000 hits for that period. So it doesn't fall over on every run. I also found a few errors like this: [26-May-2007 15:11:17] PHP Fatal error: Out of memory (allocated 7340032) (tried to allocate 160209 bytes) in Unknown on line 0 When I upgraded to PHP 5.2.3 I thought the problem is gone - it worked fine for the first 4 hours. And then it started all the same. As I remember PHP 5.2.1 fixed "Out of memory" bug that some people have in 5.2.0. So it's quite the contrary for me... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41615 -- Edit this bug report at http://bugs.php.net/?id=41615&edit=1