Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close InputStream when receiving cluster state in PublishClusterStateAction #22711

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Jan 20, 2017

Not closing the InputStream will leak native memory as the DeflateCompressor/Inflater won't be closed.

@ywelsch ywelsch added :Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure >bug v5.1.3 v5.2.1 v5.3.0 v6.0.0-alpha1 labels Jan 20, 2017
Copy link
Contributor

@bleskes bleskes left a comment

Choose a reason for hiding this comment

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

LGTM. What triggered this?

@ywelsch ywelsch merged commit 1f0e0a2 into elastic:master Jan 20, 2017
ywelsch added a commit that referenced this pull request Jan 20, 2017
…Action (#22711)

Not closing the InputStream will leak native memory as the DeflateCompressor/Inflater won't be closed.
ywelsch added a commit that referenced this pull request Jan 20, 2017
…Action (#22711)

Not closing the InputStream will leak native memory as the DeflateCompressor/Inflater won't be closed.
ywelsch added a commit that referenced this pull request Jan 20, 2017
…Action (#22711)

Not closing the InputStream will leak native memory as the DeflateCompressor/Inflater won't be closed.
@alexbrasetvik
Copy link
Contributor

@bleskes We're hunting memory issues in Cloud, details on how this was found in https://github.com/elastic/dev/issues/715

@jasontedor
Copy link
Member

@ywelsch This should have the 5.2.0 label.

@ywelsch ywelsch added v5.2.0 and removed v5.2.1 labels Jan 20, 2017
@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 20, 2017

@jasontedor right! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure v5.1.3 v5.2.0 v6.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants