I’m trying to build Brave Browser on a decent workstation (i5-16300K CPU, 32GB of RAM), and i’m running into an error that seems to indicate that I my RAM is too limited (according to Grok).
I was able to run the build on another workstation with 64 GB of RAM
```
FAILED: f0b9fb3c-ad25-4224-b35f-bc850786efdc “./gen/v8/src/builtins/builtins-effects.cc” ACTION //v8:run_mksnapshot_default(//build/toolchain/linux:clang_x64)
err: exit=251
build step: __v8_run_mksnapshot_default___build_toolchain_linux_clang_x64__rule “./gen/v8/src/builtins/builtins-effects.cc”
siso_rule: v8/mksnapshot
python3 ../../v8/tools/run.py ./mksnapshot --turbo_instruction_scheduling --stress-turbo-late-spilling --target_os=linux --target_arch=x64 --embedded_src gen/v8/embedded.S --predictable --no-use-ic --builtins-effects-src gen/v8/src/builtins/builtins-effects.cc --turbo-elide-frames --embedded_variant Default --random-seed 314159265 --startup_blob snapshot_blob.bin --no-native-code-counters --concurrent-builtin-generation --concurrent-turbofan-max-threads=0
stdout:
Return code is -5
```
Is the RAM really the issue? If so, is there a workaround?
See also https://x.com/i/grok/share/lJ8QkBupSqboxKz4JtNi9jjpa