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

       Web browser: ---
             Bug #: 30751
           Summary: Allowed memory size exhausted when using API
           Product: MediaWiki
           Version: (wikimedia-deployment)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


I'm trying to run the following query from my bot account:

http://en.wikipedia.org/w/api.php?format=xml&action=query&generator=categorymembers&prop=imageinfo&iiprop=&iilimit=2&gcmtitle=Category%3AAll%20non-free%20media&gcmlimit=max&maxlag=5

and I'm getting the following error:

PHP fatal error in /usr/local/apache/common-local/php-1.17/includes/Hooks.php
line 47:
Allowed memory size of 125829120 bytes exhausted (tried to allocate 87 bytes) 

The same query seems to work when I set gcmlimit=1000.

I'm not sure whether something should be done about this, but if it should,
it's probably lowering the limit for categorymembers or raising the memory
limit.

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

Reply via email to