We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I will load a helper script in advance:
ctx, _ = v8go.NewContext(iso) _, err = ctx.RunScript(content, "tool.js")
tool.js just contains a helper class like this:
tool.js
class Helper { add(a, b) { return a +b; } }
And I will invoke Helper.add function many times:
Helper.add
a, b := 4, 5 val, err := ctx.RunScript("(function(){ const h = new Helper(); return h.add(%d, %d)) })();", "")
I found UsedHeapSize of iso continuously increased and never went down, V8 will not gc?
UsedHeapSize
The text was updated successfully, but these errors were encountered:
Duplicate of #105
Sorry, something went wrong.
No branches or pull requests
I will load a helper script in advance:
tool.js
just contains a helper class like this:And I will invoke
Helper.add
function many times:I found
UsedHeapSize
of iso continuously increased and never went down, V8 will not gc?The text was updated successfully, but these errors were encountered: