Bugs item #3413798, was opened at 2011-09-25 17:25 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3413798...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: featured.py: Not decrease memory usage.
Initial Comment: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8574
Contains all data that is processed into a variable. If you destroy the processed data, will decrease memory usage. The name of the variable is "arts". -------- arts = featuredArticles(fromsite, pType) while 0 < len(arts): if query < len(arts): featuredbot(arts[:query], cc, tosite, template_on_top, pType, quiet, dry) arts = arts[query:] else: featuredbot(arts, cc, tosite, template_on_top, pType, quiet, dry) break -------- Otherwise, the generator may be better.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3413798...
pywikipedia-bugs@lists.wikimedia.org