Issue #8 resolved

py.test run leaks memory

Thomas Waldmann
repo owner created an issue

when running py.test from the toplevel directory, you can see how memory consumption steadily climbs up to about 1.5GB (on a 32bit system, likely more on a 64bit system - system with 2GB or less memory may run into trouble due to excessive paging).

I think the problem is in and what it does (does not) in init_test_app() and deinit_test_app(), and also the nesting of that for module, class, method.

It might be also related to router_index ressources maybe not getting freed again.

Comments (3)

  1. Log in to comment