<p>I think the impression could also be based on virt mem size of the process (I.e. committed + reserved). The failure to start is probably a real concern for OS's without overcommit, especially if multiple java procs are running at the same time.</p>
<p>Sent from my phone</p>
<div class="gmail_quote">On Feb 22, 2012 10:40 AM, "Jon Masamitsu" <<a href="mailto:jon.masamitsu@oracle.com">jon.masamitsu@oracle.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 2/22/2012 4:28 AM, Michael Bien wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/22/2012 12:48 AM, <a href="mailto:mark.reinhold@oracle.com" target="_blank">mark.reinhold@oracle.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Posted: <a href="http://openjdk.java.net/jeps/141" target="_blank">http://openjdk.java.net/jeps/<u></u>141</a><br>
<br>
- Mark<br>
<br>
</blockquote>
additional risks:<br>
- JVM may not be able to start<br>
</blockquote>
<br>
Specifically, the JVM tries to reserve enough memory at start up<br>
for the heap and fails to initialize if it cannot?<br>
<br>
Will add it.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- could contribute to the false impression that java requires a lot of memory to run (JVMs usually don't like to give memory back to the OS once its in use)<br>
</blockquote>
<br>
Is this an impression the user would get because the JVM would not start up as you<br>
note above? The JVM does not necessarily use all the memory it reserves.<br>
<br>
<br>
Thanks.<br>
<br>
Jon<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
best regards,<br>
michael<br>
<br>
</blockquote>
</blockquote></div>