<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Qi,<div class=""><br class=""></div><div class="">the content of your java.opts looks valid (although you might want to increase the</div><div class="">memory settings later). According to the MATLAB documentation, e.g.</div><div class=""><a href="http://uk.mathworks.com/help/matlab/matlab_env/java-opts-file.html?refresh=true" class="">http://uk.mathworks.com/help/matlab/matlab_env/java-opts-file.html?refresh=true</a></div><div class="">you need to put this file either in the MATLAB startup folder or under the `bin\arch` folder</div><div class="">under the MATLAB root path. Locally, I have a `java.opts` under `~/Documents/MATLAB` for</div><div class="">instance.</div><div class=""><br class=""></div><div class="">Can you try either of these options and check the output of the following command</div><div class="">>> java.lang.Runtime.getRuntime().maxMemory</div><div class="">reflects what it in your java.opts</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Sebastien</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 6 Apr 2015, at 19:53, Qi Gong <<a href="mailto:qigong@gwmail.gwu.edu" class="">qigong@gwmail.gwu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class="">Hello everyone,<div class=""><br class=""></div><div class="">Sorry for bother. I try to use <span style="font-size:12.8000001907349px" class=""> </span><span style="font-size:12.8000001907349px" class="">Matlab version of Bio-Formats. But I face the memory problem, I know, we could add a time named java.opts to solve the problem.  </span></div><div class=""><br class=""></div><div class="">I put the file the java.opts into matlab folder as attachment. But matlab still shows the warning. Could anyone help me check whether my java.opts is correct or not? Thank you.</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">Qi</div></div><div class="gmail_extra"><div class="h5"><br class=""><div class="gmail_quote"><br class=""></div></div></div></div>
</div>
<span id="cid:ED265B77-5B0E-4F1A-9FBA-115BD4EF52FC"><matlab folder.png></span><span id="cid:A7E9D7AA-FA58-4DD5-9EF3-EB94D9E81C6D"><memory warning.png></span><span id="cid:B8AE682D-1847-4B0F-8844-75ADBE8C19DA"><java.opts></span>_______________________________________________<br class="">ome-users mailing list<br class=""><a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class=""></div></blockquote></div><br class=""></div></body></html>