Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Memory leak when creating pb_wrappers #86

Open
InfinitiesLoop opened this issue Feb 9, 2017 · 2 comments
Open

Memory leak when creating pb_wrappers #86

InfinitiesLoop opened this issue Feb 9, 2017 · 2 comments

Comments

@InfinitiesLoop
Copy link
Contributor

We are using node-protobuf in a system that handles generic messages. We load the schemas for the protobuf messages at runtime, and periodically reload them in case they have changed (users of the system can evolve their messages).

We have noticed a slow memory leak with the services using node-protobuf. There may be multiple causes, but I think I've identified this being at least one of them.

I have a PR incoming that demonstrates. I have only reproduced the problem, not looked into the cause yet. Hoping it seems obvious to you?

@InfinitiesLoop
Copy link
Contributor Author

PR with a reproduction script: #87

@fuwaneko
Copy link
Owner

Thanks for reporting, there's been a memory leak in native module. Should be fixed in 1.4.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants