Last modified: 2010-05-15 15:48:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8899 - Frequent "php out of memory" issue
Frequent "php out of memory" issue
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
PC Windows Server 2003
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-06 13:08 UTC by Barns
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

PHP.ini file (46.05 KB, application/octet-stream)
2007-02-06 13:16 UTC, Barns
My LocalSettings.php file (5.46 KB, application/x-external-editor)
2007-02-06 13:17 UTC, Barns

Description Barns 2007-02-06 13:08:50 UTC
Windows 2003 server
Apache 2.2.4
PHP 5.2.0 (loaded as module, PHP memory_limit was set to 32M)
Mediawiki 1.9.0

We get very frequent out of memory messages, forcing us to restart Apache. 

PHP Fatal error:  Out of memory (allocated 9175040) (tried to allocate 1572864
bytes) in D:\\websites\\mediawiki\\languages\\messages\\MessagesEn.php on line
2106, referer: https://XXX/wiki/index.php?title=XXX&action=edit&section=11
Comment 1 Barns 2007-02-06 13:16:25 UTC
Created attachment 3191 [details]
PHP.ini file

My php.ini file.
Comment 2 Barns 2007-02-06 13:17:22 UTC
Created attachment 3192 [details]
My LocalSettings.php file

My LocalSettings.php file
Comment 3 Tim Starling 2007-02-06 13:21:03 UTC
This matches the description of PHP bug 39438:

Please try downgrading to PHP 5.1.6, or upgrading to the current 5.2.x snapshot
from .
Comment 4 Barns 2007-02-06 13:47:58 UTC
Ok, will try one of these and come back to you.
Thanks for the help,

Comment 5 Barns 2007-02-12 13:25:26 UTC
- upgraded to PHP 5.2.1
- upgraded to Mediawiki 1.9.2
- disabled "Win32DisableAcceptEx" in Apache

Memory usage from Apache went from an average of 200MB to 30MB...
So it seems indeed there was some serious leakage in PHP 5.2.0, maybe worth
adding to the installation notes.

thanks for the help. Change resolution to "invalid", as this is not a mediawiki

Note You need to log in before you can comment on or make changes to this bug.