This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grzgrzgrz3
Recipients bquinlan, grzgrzgrz3
Date 2016-05-28.13:25:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464441935.81.0.0559700033116.issue27144@psf.upfronthosting.co.za>
In-reply-to
Content
as_complite generator keeps reference of all passed futures until StopIteration. It may lead to serious memory inefficiency.

Solution is to remove reference from lists and yield future ad-hoc.

I have submitted patch and reproduce sample.

I can create backport for older versions if needed.
History
Date User Action Args
2016-05-28 13:25:35grzgrzgrz3setrecipients: + grzgrzgrz3, bquinlan
2016-05-28 13:25:35grzgrzgrz3setmessageid: <1464441935.81.0.0559700033116.issue27144@psf.upfronthosting.co.za>
2016-05-28 13:25:35grzgrzgrz3linkissue27144 messages
2016-05-28 13:25:35grzgrzgrz3create