From 3201ca5ad628454a335f5439a23bb5c57c76ae79 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Fri, 11 Sep 2026 08:54:03 +0000 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=8D=95=E6=B5=8B=E8=AF=95=E5=88=86?= =?UTF-8?q?=E9=85=8D=E4=B8=8A=E9=99=90=E6=B3=A8=E9=87=8A=E5=B3=B0=E5=80=BC?= =?UTF-8?q?=E5=8F=A3=E5=BE=84=E6=94=B9=E4=B8=BA=E5=AE=9E=E6=B5=8B=E5=80=BC?= =?UTF-8?q?=EF=BC=88=E6=97=A7=20132MB=20=E6=97=A0=E6=8D=AE=E8=A1=A8?= =?UTF-8?q?=E8=BF=B0=E4=BD=9C=E5=BA=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_test262/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/oxide_test262/src/main.rs b/crates/oxide_test262/src/main.rs index 5b428b2b..b20eee2b 100644 --- a/crates/oxide_test262/src/main.rs +++ b/crates/oxide_test262/src/main.rs @@ -1470,8 +1470,9 @@ fn build_runner_kernel() -> Arc { kernel_config.max_pool_size = Some(1); // 单测试分配上限:死循环类测试触步数上限时持续分配,arena 高水位可达 GB // 级;多 worker 并发下进程 RSS 包络被各 worker 当前高水位顶起,全量运行 - // 必然 OOM。正规测试峰值 ≤132MB(Array 块 p100 实测),256MiB 留有余量 - // 且把失控测试的驻留面封顶到上限本身。 + // 必然 OOM。正规测试峰值实测约 256MiB(RegExp property-escapes 生成大表, + // 余量极小、27 个大表测试微越被顶,待抬 cap 或压大表内存面另行处理); + // 主要作用是把失控测试的驻留面封顶到上限本身。 kernel_config.max_alloc_bytes = Some(256 * 1024 * 1024); KernelCore::new(kernel_config) }