We're Hiring!

MATLAB Java heap memory

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

MATLAB Java heap memory

Postby Kouichi_C_Nakamura » Thu Jul 12, 2018 2:36 pm

The documentation for Bio-Formats MATLAB toolbox below tells us about how to increase Java heap memory size.
https://docs.openmicroscopy.org/bio-for ... b-dev.html

There is a link to the following page.
How do I increase the heap space for the Java VM in MATLAB 6.0 (R12) and later versions?
https://uk.mathworks.com/matlabcentral/answers/92813

Actually, as one of the comments says, from R2010a onwards, MATLAB's preference has a configuration for Java heap memory.

https://uk.mathworks.com/help/matlab/ma ... ences.html

So the information on Bio-Formats documentation is a bit outdated. I'd like to suggest to add the following in the See also box.

See also: Java Heap Memory Preferences (R2010a onwards) https://uk.mathworks.com/help/matlab/ma ... ences.html
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: MATLAB Java heap memory

Postby sbesson » Fri Jul 13, 2018 8:54 am

Hi Kouichi,

thanks for raising our attention to this. Certainly nice to see there is an official MATLAB documentation page and an option allowing to adjust the Java heap size via the UI.

Keeping the reference to the `java.opts` path is probably still valid for the cases where MATLAB is running headless. So updating the see also box as you suggested makes complete sense. The source code for this documentation page is available at https://github.com/ome/bio-formats-docu ... ab-dev.rst. Feel free to open a Pull Request directly else we will card your suggestion for the upcoming milestone.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: MATLAB Java heap memory

Postby Kouichi_C_Nakamura » Fri Jul 13, 2018 9:29 am

Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest