awslabs / awslabs/amazon-kinesis-client-nodejs

Memory leak when writing intensively

Open
#9 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
304
Forks
198
Avg merge
36m
Merged PRs (30d)
2

Description

I have a memory leak problem writing to kinesis from node and I wanted to verify if it happens as well with this sample producer.

I verified that if instead of 10 writes, you modify the code to write endlessly 10 times per second, the memory consumption grows slowly but steadily.

Any idea why this happens?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the sample producer behavior described in the issue: change it from 10 writes to continuous writes at 10 per second and monitor memory consumption. Done means the memory growth is understood and the producer remains stable during a sustained write run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.