<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Mario <br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 29 Apr 2015, at 16:02, Mario Emmenlauer <<a href="mailto:mario@emmenlauer.de" class="">mario@emmenlauer.de</a>> wrote:</div>
<div class=""><br class="">
Hi again,<br class="">
<br class="">
On 29.04.2015 13:29, Mario Emmenlauer wrote:<br class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">On Tue, Apr 28, 2015 at 2:53 PM, Sebastien Besson <<a href="mailto:seb.besson@gmail.com" class="">seb.besson@gmail.com</a><br class="">
<<a href="mailto:seb.besson@gmail.com" class="">mailto:seb.besson@gmail.com</a>>> wrote:<br class="">
<blockquote type="cite" class="">On 28 Apr 2015, at 19:32, Mario Emmenlauer <<a href="mailto:mario@emmenlauer.de" class="">mario@emmenlauer.de</a> <<a href="mailto:mario@emmenlauer.de" class="">mailto:mario@emmenlauer.de</a>>> wrote:<br class="">
</blockquote>
</blockquote>
</blockquote>
</div>
</blockquote>
<blockquote type="cite" class="">*snip*</blockquote>
<blockquote type="cite" class="">
<div class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">I don't know if its related to the JPEG2000 image I'm trying to read,<br class="">
let me know if I should send in the file? I have bin/glnxa64/java.opts<br class="">
created with -Xmx512m as advised in the docs.<br class="">
</blockquote>
<br class="">
   For this error, something you could try as a workaround is setting the<br class="">
   PermSize as<br class="">
   well in the same java.opts file, e.g. adding a line like<br class="">
<br class="">
   -XX:PermSize=512m<br class="">
</blockquote>
<br class="">
I will try it! But first I need to reproduce the issue myself :-(<br class="">
</blockquote>
<br class="">
Ok, after a Matlab restart I could instantly produce the error<br class="">
again (after exactly 8 images again). I increased the PermGen<br class="">
space, first only to 265MB, and now its running fine again. I<br class="">
slightly changed to spelling of the option: -XX:MaxPermSize=XXXm<br class="">
(added a 'Max' in the front).<br class="">
</div>
</blockquote>
<div><br class="">
</div>
<div>Thanks for letting us know. I opened a Pull request to make sure this</div>
<div>information is added to the developers documentation:</div>
<div><a href="https://github.com/openmicroscopy/bioformats/pull/1776" class="">https://github.com/openmicroscopy/bioformats/pull/1776</a></div>
<br class="">
<blockquote type="cite" class="">
<div class="">But: since the behavior is not entirely consistent, is there some<br class="">
way to build up trust? Does this make sense to you, that it fails<br class="">
after 8 images, works for >2000, then fails again after 8?<br class="">
</div>
</blockquote>
<div><br class="">
</div>
<div>Answering this precisely needs more investigation on our side. Would it be possible</div>
<div>for you to upload the image you used to reproduce the error to </div>
<div><a href="https://www.openmicroscopy.org/qa2/qa/upload/?" class="">https://www.openmicroscopy.org/qa2/qa/upload/?</a> Also which operating</div>
<div>system/version of MATLAB were you using?</div>
<br class="">
Best,</div>
<div>Sebastien<br class="">
<blockquote type="cite" class="">
<div class=""><br class="">
Cheers,<br class="">
<br class="">
   Mario<br class="">
<br class="">
<br class="">
<br class="">
-- <br class="">
Mario Emmenlauer BioDataAnalysis             Mobil: +49-(0)151-68108489<br class="">
Balanstrasse 43                    mailto: mario.emmenlauer * <a href="http://unibas.ch" class="">
unibas.ch</a><br class="">
D-81669 München                          <a href="http://www.biodataanalysis.de/" class="">http://www.biodataanalysis.de/</a><br class="">
_______________________________________________<br class="">
ome-devel mailing list<br class="">
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" class="">ome-devel@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br class="">
</div>
</blockquote>
</div>
<br class="">
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>