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

Memory leak in ApnsChannelPool #1094

Open
Sycamore-M opened this issue Dec 27, 2024 · 1 comment
Open

Memory leak in ApnsChannelPool #1094

Sycamore-M opened this issue Dec 27, 2024 · 1 comment

Comments

@Sycamore-M
Copy link

Hi,

We have an offline push service. After running for a few months, an out of memory issue occurred.

By analyzing memory snapshots, it was found that there are hundreds of thousands of DefaultPromise stacked in ApnsChannelPool.pendingAcquisitionPromises

We had to restart the service regularly before this issue was fixed.

pushy:0.15.4
jdk:11.0.25
netty:4.1.101.Final

@Sycamore-M
Copy link
Author

I have found that when the SSL certificate expires, ApnsChannelPool.pendingAcquisionPromises will continue to expand.

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

No branches or pull requests

1 participant