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

Consumer Memory Leak, Hanging promises. #79

Closed
ronfarkash opened this issue Dec 21, 2021 · 0 comments · Fixed by #80
Closed

Consumer Memory Leak, Hanging promises. #79

ronfarkash opened this issue Dec 21, 2021 · 0 comments · Fixed by #80

Comments

@ronfarkash
Copy link
Collaborator

Describe the bug
When consuming messages, a memory leak is created due to unresolved promises. After leaving the consumer on for a while, a heap snapshot will show an increasing number of promise references.

Reproduce

  1. Run a Consumer that continuously reads messages.
  2. Watch the process memory go up as time passes.

Expected behavior
The process memory to stay stable.

Observed behavior
Explained above.

Environment:

  • OS: Windows 10
  • PulsarFlex version: 1.0.1-beta.8
  • Pulsar version: 2.8.1
  • NodeJS version: 16.11.1
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

Successfully merging a pull request may close this issue.

1 participant