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 remi.lapeyre
Recipients kmiku7, matrixise, remi.lapeyre
Date 2019-03-18.10:02:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552903353.74.0.544162057559.issue36337@roundup.psfhosted.org>
In-reply-to
Content
Hi @kmiku7, it's possible to write tests that use a large amount of memory and to run them only when asked to with bigmemtest: https://docs.python.org/3/library/test.html#test.support.bigmemtest

There is some tests that use it in the codebase like https://github.com/python/cpython/blob/1561703a78849ac3511055590d9d1bd2c62a2072/Lib/test/test_bz2.py#L646-L647

Creating a large string and sending it through a socket should be ok if you mark the test with this decorator.
History
Date User Action Args
2019-03-18 10:02:33remi.lapeyresetrecipients: + remi.lapeyre, matrixise, kmiku7
2019-03-18 10:02:33remi.lapeyresetmessageid: <1552903353.74.0.544162057559.issue36337@roundup.psfhosted.org>
2019-03-18 10:02:33remi.lapeyrelinkissue36337 messages
2019-03-18 10:02:33remi.lapeyrecreate