Last modified: 2011-04-14 15:12:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20585, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18585 - Moving many subpages requires loads of memory
Moving many subpages requires loads of memory
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.15.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-25 13:32 UTC by Siebrand Mazeland
Modified: 2011-04-14 15:12 UTC (History)
3 users (show)

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


Attachments

Description Siebrand Mazeland 2009-04-25 13:32:42 UTC
$wgMaximumMovedPages has a current default limit of 100. On translatewiki.net we use ini_set( 'memory_limit', '130M' );.

Whenever we try to move a lot of subpages in the MediaWiki namespace (130+) the request fails on "PHP Fatal error:  Allowed memory size of 136314880 bytes exhausted (tried to allocate 280258 bytes)" or something similar.

Subpage moving should be made less memory intensive somehow.
Comment 1 p858snake 2009-04-25 14:18:08 UTC
Maybe have it break up the move process so that it does a few at a time in batches, that should make it less memory intense, but i don't know how hard that would be. 
Comment 2 Siebrand Mazeland 2009-04-25 14:35:19 UTC
Job queue sounds like a match
Comment 3 Roan Kattouw 2009-04-27 13:23:19 UTC
(In reply to comment #2)
> Job queue sounds like a match
> 

I don't think that's a good idea. The limit of 100 subpages was added so that moving a bunch of subpages could reasonably be done in one request, with immediate feedback (success/error). If subpage moves are done through the job queue, there's no way to inform the user when one of the moves fails (e.g. because the target page already exists or is protected).

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


Navigation
Links