https://bugzilla.wikimedia.org/show_bug.cgi?id=24647

           Summary: Job queue memory usage
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Maintenance scripts
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: s.mazel...@xs4all.nl
                CC: innocentkil...@gmail.com


I haven't been able to pinpoint this exactly, but something is wrong with the
job queue. I've experienced this for example while it's processing edit jobs
for ReplaceText, but also when changing a template that's used for a few
hundred times, as well as when using the Translate extension script
'fuzzy.php'.

In the cases of Translate and ReplaceText actual edits are made, for a template
change, other stuff happens that I'm not really up to speed with (link table
updates?).

Generally at some point in time the script will exit with "Allowed memory size
exhausted" (at translatewiki.net about 150M), even though, as far as I know,
command line scripts shouldn't have a default memory limit (?).

I've once looked into this, and found that memory usage of the job queue keeps
growing with each job that it handles. I forgot about the actual number, but it
was many megabytes per job then (12M comes to mind - probably depends on the
exact wiki properties). All attempts to do "garbage collection" setting
references to null to reduce memory usage failed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to