Skip to content

[Heartbeat] Fix excessive memory usage when parsing bodies (#15639)#15763

Merged
andrewvc merged 1 commit intoelastic:7.6from
andrewvc:backport_15639_7.6
Jan 23, 2020
Merged

[Heartbeat] Fix excessive memory usage when parsing bodies (#15639)#15763
andrewvc merged 1 commit intoelastic:7.6from
andrewvc:backport_15639_7.6

Conversation

@andrewvc
Copy link
Copy Markdown
Contributor

@andrewvc andrewvc commented Jan 22, 2020

  • [Heartbeat] Fix excessive memory usage when parsing bodies

In 7.5 we introduced a regression where we would allocate a 100MiB
buffer per HTTP request. This change fixes that to stream data instead.

(cherry picked from commit 080dedb)

…5639)

* [Heartbeat] Fix excessive memory usage when parsing bodies

In 7.5 we introduced a regression where we would allocate a 100MiB
buffer per HTTP request. This change fixes that to stream data instead.

(cherry picked from commit 080dedb)
@andrewvc andrewvc added backport Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team labels Jan 22, 2020
@andrewvc andrewvc requested a review from urso January 22, 2020 23:20
@andrewvc andrewvc requested a review from a team as a code owner January 22, 2020 23:20
@andrewvc andrewvc self-assigned this Jan 22, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (:uptime)

@andrewvc andrewvc merged commit 4b5be1d into elastic:7.6 Jan 23, 2020
@andrewvc andrewvc deleted the backport_15639_7.6 branch January 23, 2020 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants