diff --git a/bazel/external/wee8.patch b/bazel/external/wee8.patch index 85c962463075c..a7776c892483c 100644 --- a/bazel/external/wee8.patch +++ b/bazel/external/wee8.patch @@ -1,5 +1,5 @@ # 1. Fix linking with unbundled toolchain on macOS. -# 2. Increase VSZ limit to 4TiB (allows us to start up to 409 VMs). +# 2. Increase VSZ limit to 64 TiB (allows us to start up to 6,553 VMs). # 3. Fix MSAN linking. --- wee8/build/toolchain/gcc_toolchain.gni +++ wee8/build/toolchain/gcc_toolchain.gni @@ -28,7 +28,7 @@ constexpr size_t kAddressSpaceLimit = 0x8000000000L; // 512 GiB #elif V8_TARGET_ARCH_64_BIT -constexpr size_t kAddressSpaceLimit = 0x10100000000L; // 1 TiB + 4 GiB -+constexpr size_t kAddressSpaceLimit = 0x40100000000L; // 4 TiB + 4 GiB ++constexpr size_t kAddressSpaceLimit = 0x400100000000L; // 64 TiB + 4 GiB #else constexpr size_t kAddressSpaceLimit = 0xC0000000; // 3 GiB #endif