Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Fix AdminManager memory leak #438

Conversation

BewareMyPower
Copy link
Collaborator

Fixes #322

The DelayedOperationPurgatory field of AdminManager will never be closed, so the ShutdownableThread would be started each time a request handler is created and won't be stopped.

@BewareMyPower BewareMyPower requested a review from jiazhai as a code owner April 11, 2021 04:42
@BewareMyPower BewareMyPower merged commit 546f406 into streamnative:master Apr 12, 2021
@BewareMyPower BewareMyPower deleted the bewaremypower/fix-admin-manager-leak branch April 12, 2021 01:50
BewareMyPower added a commit to BewareMyPower/kop that referenced this pull request Apr 12, 2021
Fixes streamnative#322

The `DelayedOperationPurgatory` field of `AdminManager` will never be closed, so the `ShutdownableThread` would be started each time a request handler is created and won't be stopped.
BewareMyPower added a commit that referenced this pull request Apr 12, 2021
Fixes #322

The `DelayedOperationPurgatory` field of `AdminManager` will never be closed, so the `ShutdownableThread` would be started each time a request handler is created and won't be stopped.
BewareMyPower added a commit to BewareMyPower/kop that referenced this pull request Apr 14, 2021
Fixes streamnative#322 

The `DelayedOperationPurgatory` field of `AdminManager` will never be closed, so the `ShutdownableThread` would be started each time a request handler is created and won't be stopped.
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.

[BUG] java.lang.OutOfMemoryError: unable to create new native thread when DelayedOperationPurgatory
3 participants