#22734 marshal needs a lower stack depth for debug builds on Windows
diff --git a/Python/marshal.c b/Python/marshal.c
index ca64be3..837aa48 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -19,7 +19,7 @@
  * On Windows debug builds, reduce this value.
  */
 #if defined(MS_WINDOWS) && defined(_DEBUG)
-#define MAX_MARSHAL_STACK_DEPTH 1500
+#define MAX_MARSHAL_STACK_DEPTH 1000
 #else
 #define MAX_MARSHAL_STACK_DEPTH 2000
 #endif