Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LazySuite._precache is never cleared leading to increased memory consumption #1055

Open
iainb opened this issue Jul 12, 2017 · 0 comments
Open

Comments

@iainb
Copy link

iainb commented Jul 12, 2017

As the title says, LazySuite._precache is never cleared, this means that all Test instances are kept in memory for the life time of a test run. I work with a test suite that has a large number of tests, some of which create a lot of temporary objects and store them on the test class. This leads to nose running out of memory and prevents us from running the whole test suite.

I have fixed the issue with this PR #1054

Though it looks like this project is dead :( It would be great if it could be merged in upstream, I'm sure a lot of people who are running nose 1 will benefit from this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant