We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec64b4 commit 2e086b3Copy full SHA for 2e086b3
crates/isolate/src/client.rs
@@ -566,6 +566,10 @@ pub fn initialize_v8() {
566
"--no-wasm-async-compilation".to_string(),
567
// Disable `eval` or `new Function()`.
568
"--disallow-code-generation-from-strings".to_string(),
569
+ // We ensure 4MiB of stack space on all of our threads, so
570
+ // tell V8 it can use up to 2MiB of stack space itself. The
571
+ // default is 1MiB. Note that the flag is in KiB (https://github.com/v8/v8/blob/master/src/flags/flag-definitions.h#L1594).
572
+ "--stack-size=2048".to_string(),
573
];
574
// v8 returns the args that were misunderstood
575
let misunderstood = V8::set_flags_from_command_line(argv);
0 commit comments