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
When I run the code below, the memory growth infinitely. Am I using it wrong ?
fn main() { loop { rustpython_vm::Interpreter::default() .enter(|vm| { let scope = vm.new_scope_with_builtins(); let src = r#"print("Hello world")"#; let compiled = vm.compile( src, rustpython_vm::compile::Mode::Exec, "<embedded>".to_owned() ).unwrap(); vm.run_code_obj(compiled, scope).unwrap() }); } }
The text was updated successfully, but these errors were encountered:
It's (most likely) not you. I ran into the exact same problem trying to get the benchmarks to work. #2380 should give you a little more context.
Sorry, something went wrong.
No branches or pull requests
When I run the code below, the memory growth infinitely. Am I using it wrong ?
The text was updated successfully, but these errors were encountered: