Skip to content

release memory of response body to avoid memory consumation#5036

Open
microtimber wants to merge 2 commits into
Orange-OpenSource:masterfrom
microtimber:master
Open

release memory of response body to avoid memory consumation#5036
microtimber wants to merge 2 commits into
Orange-OpenSource:masterfrom
microtimber:master

Conversation

@microtimber
Copy link
Copy Markdown

When loading large response bodies or repeating many times in parallel mode, memory consumption continues to accumulate until it is exhausted.
The current solution is to release the response body when it is closest to being useless. Unit tests and simple runs have not produced errors.
However, I am not sure if this is the optimal location, please review.
Note: Line 134 is unrelated, please ignore it.

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

Successfully merging this pull request may close these issues.

1 participant