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

       Web browser: ---
            Bug ID: 53663
           Summary: Getting the referring pages takes up too much memory
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 13210
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=13210&action=edit
request and response headers for API call

Using pywikipediabot-core from git (synced today), I try to obtain the pages
referring to Template:Monument istoric on commons, but I get a 500 error code
(see attachement for defails on the request and response). The problem is
solved by requesting fewer pages at a time.

From IRC I found out the script takes up too much memory:

[01-Sep-2013 17:15:25] Fatal error: Allowed memory size of 183500800 bytes
exhausted (tried to allocate 512 bytes) at
/usr/local/apache/common-local/php-1.22wmf14/includes/api/ApiQueryImageInfo.php
on line 470

This seems to be a regression issue, since this used to work back in June,
using the svn version of what is now pywikipediabot-compat. I checked the API
request there and it hasn't changed.

I believe that this issue should be investigated, since the request used to
work in the past, so this is a performance degradation.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to