title: Where can I find default -Xss (stack size) value for Oracle JVM?
body: <p>Has anyone ever found a single JVM document listing default <code>-Xss</code> values for various versions of the Oracle JVM, and for different OS's?</p>
  <p>I've been able to find this table in the <a href="http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html#wp1000929" rel="noreferrer">jrockit docs</a>, but that's not helpful for those using the &quot;normal&quot; Oracle JVM.</p>
  <p>I do appreciate that the <code>-Xss</code> value will vary per OS (and JVM version), so maybe there's no one document that lists all recent combinations. But if any readers here know of any individual documents that list at least just the default <code>-Xss</code> value for <em>each</em> JVM version (or at least 1.6 and 1.5), or even if only for <em>some</em> OS's, that would be a great start. I'm especially interested in the default for Windows.</p>
  <p>I'll add that the reason this is valuable is that often we see people recommend (wrongly, I think) that someone can solve a problem by changing the <code>-Xss</code> value. But if you don't know your default, then there's no way to know if you're raising or lowering the value by whatever change someone recommends. They don't generally indicate the version/OS they're on, so it's a crapshoot whether their suggestion will &quot;help&quot; you.</p>
  <p>Even better than some documentation, if anyone knows a way to query the JVM to get the current value, whether from the command line or via an API call, that would be even more valuable. Thanks.</p>
  <blockquote>
  <p><strong>Update: I have added <a href="https://stackoverflow.com/a/66497611/90802">an answer of my own</a> that summarizes the various suggestions and points to a current resource (in early 2021)
  indicating the answer, including what I learned about the <code>-Xss</code> value
  in Windows.</strong></p>
  </blockquote>