<div>
<div><p style="color: #a0a0a0;">On Monday, 11 April 2011 at 14:32, Philip Boulain wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>On 11/04/2011 14:16, Chris Andrews wrote:<br><blockquote type="cite"><div>I've been told that there is a way to increase the heap size of a Java <br>app from the command line<br></div></blockquote><br>It's amazing that in this day and age JAVA still can't sort this out <br>dynamically. Oh the myriad stupid costs of lazily smothering everything <br>in garbage collection.<br><br>Anyway, you want -Xmx2g or whatnot. (Apparently you can also set this in <br>the Java Control Panel, but I'm not sure where that lives on OS X.)<br><br><a href="http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html">http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html</a><br><br></div></div></span></blockquote><div>And running it from the command line with -Xmx2g has got it running without crashing out. Cheers! </div><div><br></div><div>Thanks to Marcus's pointer, I found the OS X Java Preferences, but you can't set the maximum heap size from there, at least on OS X 10.5.8, which is what we have on the Mac Pro.</div><div><br></div><div>Chris</div>
</div>
</div>