Hi !
I am witnessing this memory usage increase on fpdf2, using memunit: py-pdf/fpdf2#641
A contributor also mentioned that it was reported on StackOverflow some years ago:
https://stackoverflow.com/questions/20900380/py-test-excessive-memory-usage-with-large-number-of-tests
In short: for a tests suite with ~1000 unit tests, I have witnessed an increase in memory usage of more than 10MB for 40 unit tests added.
Is this surprising to you, or expected?
And secondly, could there be optimizations to make, in pytest or in my tests suite, in order to lower this memory usage?
I have searched the issues & discussions history about this but found nothing anwering those questions:
Hi !
I am witnessing this memory usage increase on
fpdf2, using memunit: py-pdf/fpdf2#641A contributor also mentioned that it was reported on StackOverflow some years ago:
https://stackoverflow.com/questions/20900380/py-test-excessive-memory-usage-with-large-number-of-tests
In short: for a tests suite with ~1000 unit tests, I have witnessed an increase in memory usage of more than 10MB for 40 unit tests added.
Is this surprising to you, or expected?
And secondly, could there be optimizations to make, in
pytestor in my tests suite, in order to lower this memory usage?I have searched the issues & discussions history about this but found nothing anwering those questions: