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
UnboundScript
create_code_cache()
Run and close a worker in a loop and you'll see this happening.
https://github.com/v8/v8/blob/cbc1b57b90ba1db080f0a045adcefce04c1f21e5/src/snapshot/code-serializer.cc#L669
The text was updated successfully, but these errors were encountered:
Is this why creating new JsRuntimes leaks memory? Is there a solution to this? Here's a simple example that steadily increases memory usage over time.
use deno_core::{JsRuntime, RuntimeOptions}; fn main() { for i in 0..1000 { let _js_runtime = JsRuntime::new(RuntimeOptions { ..Default::default() }); } }
Sorry, something went wrong.
No branches or pull requests
Run and close a worker in a loop and you'll see this happening.
https://github.com/v8/v8/blob/cbc1b57b90ba1db080f0a045adcefce04c1f21e5/src/snapshot/code-serializer.cc#L669
The text was updated successfully, but these errors were encountered: