You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nodejs: memory leak in Impit instance constructor #370
Sorry for the incomplete graph, Node's GC only manages V8's internal heap - GC is happening there, see the following charts (jagged yellow line, better visible in the logarithmic view).
Native Node addons will allocate their memory outside of V8's heap, but still in the process' resident set (all this is opaque from the OS's POV). That's why the RSS will grow in case of a memleak in a native addon.
Activity
janbuchar commentedon Jan 29, 2026
Do you have any evidence of GC being run in your benchmark?
barjin commentedon Jan 29, 2026
Sorry for the incomplete graph, Node's GC only manages V8's internal heap - GC is happening there, see the following charts (jagged yellow line, better visible in the logarithmic view).
Native Node addons will allocate their memory outside of V8's heap, but still in the process' resident set (all this is opaque from the OS's POV). That's why the RSS will grow in case of a memleak in a native addon.
fix: use the `rustls` `Verifier` / `CryptoProvider` cache with custom…
fix(js): call `adjust_external_memory` on `Impit` instantiation (apif…