diff --git a/project/Build.scala b/project/Build.scala index 157cd99dff47..43cc3004af9f 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -215,7 +215,8 @@ object Build { case Some(prop) => List("-Xmx" + prop) case _ => List() } - agentOptions ::: ciOptions + // Do not cut off the bottom of large stack traces (default is 1024) + "-XX:MaxJavaStackTraceDepth=1000000" :: agentOptions ::: ciOptions } )