I was testing the duplicate files api and apparently it fails for some inputs. I am not able to find a pattern though.
An example api query which fails: http://commons.wikimedia.org/w/api.php?action=query&generator=allimages&...
Am I doing something wrong?
- Sreejith K.
Your query causes the following error:
PHP fatal error in /usr/local/apache/common-local/php-1.21wmf5/includes/db/DatabaseMysql.php line 204: Allowed memory size of 157286400 bytes exhausted (tried to allocate 1405270 bytes)
I'm not sure whether this is expected behavior or if it should be fixed. This is just a guess, but I think could have something to do with all of the relatively large djvu files with hundreds of pages in that query. But it seems that using smaller gailimit (150 works for me) should fix your problem.
Petr Onderka [[en:User:Svick]]
On Sun, Dec 2, 2012 at 12:14 PM, Sreejith K. sreejithk2000@gmail.com wrote:
I was testing the duplicate files api and apparently it fails for some inputs. I am not able to find a pattern though.
An example api query which fails: http://commons.wikimedia.org/w/api.php?action=query&generator=allimages&...
Am I doing something wrong?
- Sreejith K.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org