ID: 40701 Updated by: [EMAIL PROTECTED] Reported By: michaeldaly at magma dot ca -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Win XP Pro PHP Version: 5.2.1 New Comment:
What memory limit value phpinfo() show? Previous Comments: ------------------------------------------------------------------------ [2007-03-04 01:31:59] michaeldaly at magma dot ca Further note on memory allocations: here are the three latest failures and the programs in which they occured; the top one being the most recent and the bottom the oldest. (allocated 1835008) (tried to allocate 98304 bytes) Parser.php (allocated 2883584) (tried to allocate 24576 bytes) Language.php (allocated 7340032) (tried to allocate 1572864 bytes) MessagesEn.php ------------------------------------------------------------------------ [2007-03-03 17:18:56] michaeldaly at magma dot ca PHP responds to other parameters in the PHP.ini file (e.g. display_errors = Off/On) so it is being found and used. As I stated in my report "The amount of memory allocated or attempted to allocate varies.". I wasn't clear - I have seen this bug occur with allocated reported at just over 1MB to just over 8MB and more often at lower levels - the specific, most recent, error message I showed is one of the larger values I've seen. Please reconsider this bug. ------------------------------------------------------------------------ [2007-03-03 15:50:08] [EMAIL PROTECTED] Based on the error it would seem that the limit is 8 megs not 512 as your config suggests. I suspect your configuration file is being ignored. ------------------------------------------------------------------------ [2007-03-03 02:37:12] michaeldaly at magma dot ca Description: ------------ PHP 5.2.2-dev (2007-02-28-1530 snap) Apache 2.2.4 Mediawiki 1.9.2 MySQL 5.0.27. XP Pro SP2+all current updates. After editing about 15-20 pages in my Wiki, PHP eventually generates an error: PHP Fatal error: Out of memory (allocated 8388608) (tried to allocate 393216 bytes) The error occurs in several php programs, though MessagesEn.php is the most common. The amount of memory allocated or attempted to allocate varies. PHP.ini currently has: max_execution_time = 30 max_input_time = 60 memory_limit = 512M Computer has 2GB RAM and is not near its limit in paging etc. It sounds similar to a bug that was reported as fixed in 5.2.0. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40701&edit=1