Possible memory leak

I built a small example, that reflects what I do basically do in my service. The service runs out of memory pretty quickly: https://github.com/Strernd/libp2p-example
To watch the memory use docker stats
After a few minutes I’m up to 650MB memory usage from around 200 MB at the start. The memory consumption per service increases at a rate of approximately 100MB per 3 minutes.
Every service sends a message to pubsub every 100-200ms and every other service is subscribed to it.

I guess this is not intended?

Thanks for reporting this @Strernd

Let us know if updating the stream-to-it to 0.2.2 solves it, as we suggested in the github issue.

1 Like

This was solved in the github issue, thanks again.

1 Like