Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 0668addb4885849810e2dd273add694ca68de284..9193cb95c728465e11797b349eb72618d8dba8d4 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -310,7 +310,9 @@ DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature") |
DEFINE_bool(break_on_abort, true, "always cause a debug break before aborting") |
// execution.cc |
-DEFINE_int(stack_size, kPointerSize * 128, |
+// Slightly less than 1MB on 64-bit, since Windows' default stack size for |
+// the main execution thread is 1MB for both 32 and 64-bit Windows. |
+DEFINE_int(stack_size, kPointerSize * 125, |
"default size of stack region v8 is allowed to use (in kBytes)") |
// frames.cc |