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

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

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

Generally at some point in time the script will exit with "Allowed memory size
exhausted" (at 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:
------- 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

Reply via email to