allure-framework / allure-pytest

Deprecated, please use https://github.com/allure-framework/allure-python instead
Other
171 stars 83 forks source link

Memory leak with allure report recording active #98

Closed pupssman closed 8 years ago

pupssman commented 8 years ago

If tests produce lots of attachments py.test memory footprint grows significantly with every attachment and is not reduced at any moment before test session finish.

This looks like a trouble with _allure_result-passed data not being garbage-collected. Same tests run without --alluredir do not use that much memory.

Also, memory usage is low for pytest-allure-adaptor < 1.7.0 -- looks like the problem was introduced in #80

pupssman commented 8 years ago

97 fixes taht