diff --git a/src/System.Linq.Expressions/tests/CompilerTests.cs b/src/System.Linq.Expressions/tests/CompilerTests.cs index 48180dc670f8..e9815b4b473b 100644 --- a/src/System.Linq.Expressions/tests/CompilerTests.cs +++ b/src/System.Linq.Expressions/tests/CompilerTests.cs @@ -38,11 +38,11 @@ public static void CompileDeepTree_NoStackOverflowFast(bool useInterpreter) e = Expression.Add(e, Expression.Constant(1)); Func f = null; - // Request a stack size of 64K to get very small stack. + // Request a stack size of 192K to get very small stack. // This reduces the size of tree needed to risk a stack overflow. // This though will only risk overflow once, so the outerloop test // above is still needed. - Thread t = new Thread(() => f = Expression.Lambda>(e).Compile(useInterpreter), 65536); + Thread t = new Thread(() => f = Expression.Lambda>(e).Compile(useInterpreter), 128 * 1024); t.Start(); t.Join();