Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

Reduce memory consumption of report object#97

Merged
pupssman merged 4 commits intomasterfrom
memory-metering
May 17, 2016
Merged

Reduce memory consumption of report object#97
pupssman merged 4 commits intomasterfrom
memory-metering

Conversation

@pupssman
Copy link
Contributor

@pupssman pupssman commented May 5, 2016

And a test for attachment memory scalability.

The test fails without the fix, duh.

@mavlyutov @hmax plz C

if hasattr(report, '_allure_result'):
module_id, module_name, module_doc, environment, testcase = pickle.loads(report._allure_result)

report._allure_result = None # so actual pickled data is garbage-collected
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

point it to issue

@pupssman
Copy link
Contributor Author

pupssman commented May 5, 2016

@freakbelka C 2

@pupssman pupssman merged commit 49766a8 into master May 17, 2016
@pupssman pupssman deleted the memory-metering branch May 17, 2016 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants