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)
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal Status|UNCONFIRMED |NEW CC| |info@gno.de Ever confirmed|0 |1 OS|Linux |All
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 128433 had a related patch set uploaded by Xqt: (bug 64186) Decrease exhausing memory usage, speed up processing
https://gerrit.wikimedia.org/r/128433
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ladsgroup@gmail.com
--- Comment #2 from Amir Ladsgroup ladsgroup@gmail.com --- this problem exists in compat as well
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 129227 had a related patch set uploaded by Xqt: (bug 64186) Decrease exhausing memory usage, speed up processing
https://gerrit.wikimedia.org/r/129227
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 129227 abandoned by Xqt: (bug 64186) Decrease exhausing memory usage, speed up processing
Reason: dup
https://gerrit.wikimedia.org/r/129227
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #5 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 129229 had a related patch set uploaded by Xqt: (bug 64186) Decrease exhausing memory usage, speed up processing
https://gerrit.wikimedia.org/r/129229
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #6 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 129229 merged by jenkins-bot: (bug 64186) Decrease exhausing memory usage, speed up processing
https://gerrit.wikimedia.org/r/129229
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
--- Comment #7 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 128433 merged by jenkins-bot: (bug 64186) Decrease exhausing memory usage, speed up processing
https://gerrit.wikimedia.org/r/128433
https://bugzilla.wikimedia.org/show_bug.cgi?id=64186
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org