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 Mark.Shannon
Recipients Mark.Shannon
Date 2021-04-14.12:09:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618402171.48.0.736532073467.issue43846@roundup.psfhosted.org>
In-reply-to
Content
Large literals or function calls with many arguments can consume a lot of stack space.

This will be a problem for any future work to use a contiguous stack for data and possibly eliminate frame objects for most calls.

It is also possible (I haven't measured this) that this large stack consumption is hurting performance now, as it might leak memory by leaving giant frames in the free-list or as a zombie frame.

This fix relatively straightforward. For large literals and argument lists, build them incrementally rather than all at once.
History
Date User Action Args
2021-04-14 12:09:31Mark.Shannonsetrecipients: + Mark.Shannon
2021-04-14 12:09:31Mark.Shannonsetmessageid: <1618402171.48.0.736532073467.issue43846@roundup.psfhosted.org>
2021-04-14 12:09:31Mark.Shannonlinkissue43846 messages
2021-04-14 12:09:30Mark.Shannoncreate