<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 1/24/14 3:13 PM, Brent Putman wrote:<br>
    </div>
    <blockquote cite="mid:52E2C976.6070509@georgetown.edu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      This is on MacOS with JDK 1.7.0_45, 64-bit.&nbsp; Don't know what the
      default stack size is there, I'd have to hunt that down.<br>
    </blockquote>
    <br>
    By trial and error, looks like the default JVM stack size on this
    platform and version is 1 MB.&nbsp; I've tried running it with different
    stack size settings using MAVEN_OPTS to set -Xss, and here's what I
    get:<br>
    <br>
    <pre><tt>Stack&nbsp;&nbsp;&nbsp; # Executions</tt></pre>
    <pre><tt>256k</tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; 166</tt></pre>
    <pre><tt>512k&nbsp;&nbsp;&nbsp;&nbsp; 439</tt></pre>
    <pre><tt>768k&nbsp;&nbsp;&nbsp;&nbsp; 712</tt></pre>
    <pre><tt>1m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 985</tt></pre>
    <pre><tt>2m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2078</tt></pre>
    <pre><tt>3m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3170</tt></pre>
    <pre><tt>4m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4262</tt></pre>
    <br>
    <br>
    So it's roughly linear to the stack size, which is what I would have
    expected.<br>
    <br>
    Of course, behavior on Linux or Windows JVM's might be different,
    but I can't easily test those at the moment.<br>
    <br>
    --Brent<br>
    <br>
  </body>
</html>