<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. 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. 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 # Executions</tt></pre>
<pre><tt>256k</tt><tt> 166</tt></pre>
<pre><tt>512k 439</tt></pre>
<pre><tt>768k 712</tt></pre>
<pre><tt>1m 985</tt></pre>
<pre><tt>2m 2078</tt></pre>
<pre><tt>3m 3170</tt></pre>
<pre><tt>4m 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>