-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
PyObject
s are leaking memory when used in a synchronous loop
#3
Comments
PyObject.get
is leaking function descriptorsPyObject
s are leaking memory when used in a synchronous loop
Alas, this is a general Node.js problem which does not have a simple solution: nodejs/node-addon-api#1140 The problem is not that serious as it might appear because:
Still, if doing very heavy computation that requires periodic cleanup of stale objects, the two profiling targets have been transformed to async code - which completely solves this problem |
It seems that there has been progress on this issue in Node.js but it requires that the addon explicitly supports the new code. |
This code is leaking memory:
The text was updated successfully, but these errors were encountered: