https://bugzilla.wikimedia.org/show_bug.cgi?id=45900
Web browser: ---
Bug ID: 45900
Summary: Does MediaWiki use more memory for something than it
did before?
Product: MediaWiki extensions
Version: REL1_20 branch
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: [other]
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Hello,
I've recently upgraded from MediaWiki 1.19 to MediaWiki 1.20.3.
I'm getting PHP errors "Allowed memory size of ... bytes exhaused" on some
pages with a lot of templates (in includes/parser/Preprocessor_DOM.php on line
1029).
I understand that it's perfectly normal, however with MediaWiki 1.19 I had my
memory_limit set to 64M, and it worked perfectly; I've increased this value to
128M but some pages still fail to render (the same pages that rendered OK
before the upgrade with only 64M).
Maybe there were some changes to parser or preprocessor, which could account
for this? A memory leak somewhere.
The pages in question are about 200K of wiki code and produce 1-2Mb of HTML,
however they contain some heavy templates with >10 parameters each (multiple
invocations of en.wikipedia.org/wiki/Template:Chess_diagram).
I have a feeling that every template invocation is being kept in memory, even
when this is not really needed. If this is the issue, this has to be optimized.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l