".. consisting of a large number of regular expressions .."
I knew regular expressions would be my undoing. Nothing sneaker than calling something 'regular' when it is anything but <G>
".. a haphazard harmony of edge cases, so it's quite plausible that parsing a large amount of wiki text can lead to memory limit exhaustion if you're doing a large page with a lowish limit.."
Is there a way to up the 'lowish limit'?
"There is a stone tablet somewhere in Santa Ana, which states that a man shall go insane before he truly understands the way of the Parser."
So .. which of you MW guys are the insane one .. I would hate to guess <G>
Thanks
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Church Sent: Tuesday, August 07, 2007 18:28 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] parser allocation error message
On 07/08/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 199809 bytes) in /home/wiki/wikiSanMar/includes/Parser.php on line 968
This happened after creating/editing 9 new documents. Mostly tables ranging form 12 columns x 20 rows to 12 columns x 500 rows
Ideas why and how to prevent in the future would be welcomed
Large documents, perhaps? Parsing is one of our most intensive (resources, time) operations, consisting of a large number of regular expressions working in some sort of organised chaos; a haphazard harmony of edge cases, so it's quite plausible that parsing a large amount of wiki text can lead to memory limit exhaustion if you're doing a large page with a lowish limit.
There is a stone tablet somewhere in Santa Ana, which states that a man shall go insane before he truly understands the way of the Parser.
Rob Church
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l