处理文件时发生内存分配失败
memory allocation of 25769803776 bytes failed stack backtrace: 0: std::alloc::rust_oom at /rustc/7c3c88f42ad444f4688b865591d84660be4ece2f/library/std/src/alloc.rs:424:5 1: __rustc::__rust_alloc_error_handler at /rustc/7c3c88f42ad444f4688b865591d84660be4ece2f/library/std/src/alloc.rs:423:1 2: alloc::alloc::handle_alloc_error::rt_error at /rustc/7c3c88f42ad444f4688b865591d84660be4ece2f/library/alloc/src/alloc.rs:551:13 3: alloc::alloc::handle_alloc_error at /rustc/7c3c88f42ad444f4688b865591d84660be4ece2f/library/alloc/src/alloc.rs:557:9 4: alloc::raw_vec::handle_error at /rustc/7c3c88f42ad444f4688b865591d84660be4ece2f/library/alloc/src/raw_vec/mod.rs:890:38 5: alloc::raw_vec::RawVecInner::with_capacity_in at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/ZZTERM7ZZ/library/alloc/src/raw_vec/mod.rs:442:25 6: <alloc::raw_vec::RawVec<boa_string::str::JsStr>>::with_capacity_in at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/ZZTERM8ZZ/library/alloc/src/raw_vec/mod.rs:177:20 7: <alloc::vec::Vec<boa_string::str::JsStr>>::with_capacity_in at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/ZZTERM9ZZ/library/alloc/src/vec/mod.rs:977:20 8: <alloc::vec::Vec<boa_string::str::JsStr>>::with_capacity at
内容来源: boa-dev/boa