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 leaks #12

Open
gre4ixin opened this issue Mar 6, 2023 · 2 comments
Open

Memory leaks #12

gre4ixin opened this issue Mar 6, 2023 · 2 comments

Comments

@gre4ixin
Copy link

gre4ixin commented Mar 6, 2023

strangely, my memory decreases with each restart of polling(

@melle
Copy link
Contributor

melle commented Mar 6, 2023

Hi @gre4ixin do you have a test project to reproduce the problem or any steps to reproduce?

@gre4ixin
Copy link
Author

gre4ixin commented Mar 6, 2023

I have a backend on vapor, when I configure it, I call a class object with a long polling for the chat bot, when I receive some response from the chat bot and the long polling is restarted, the memory used by the server increases, this happens every time the long poll is restarted . I don’t have functional operators in the publisher, I only use the sink method, I don’t call any self in it and use [weak self] _ in, maybe this is normal behavior for such things, I haven’t figured it out yet. I’ll try to reproduce it later on some some test project 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

No branches or pull requests

2 participants