https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
Bug ID: 64186 Summary: category.py tree uses all memory Product: Pywikibot Version: core (2.0) Hardware: PC OS: Linux Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: category.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: pyfisch@googlemail.com Web browser: --- Mobile Platform: ---
$ python2 scripts/category.py tree Reading dump from category.dump.bz2 For which category do you want to create a tree view? Internet Please enter the name of the file where the tree should be saved, or press enter to simply show the tree: tree.txt
Using category.py tree with big categories leads to memory waste, after a while it consumes all available memory. (Currently 6359 MiB and still increasing)