We're Hiring!

Ice.MessageSizeMax (again)

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.

Ice.MessageSizeMax (again)

Postby johnm » Wed Apr 17, 2019 9:47 pm

Hi,

I just tried to use one of the example jython scripts for connecting to omero and I ran into an error trying to download a big image. I see other people have had this error, but I'm a bit in the dark about how to fix the problem. This is the error:

File "D:\Users\me\FIJI\analyse_particles_from_datase_dataset.py", line 100, in open_image_plus
IJ.runPlugIn("loci.plugins.LociImporter", options)
unknown = "ConnectionI.cpp:1573: Ice::MemoryLimitException:
protocol error: memory limit exceeded:
requested 260582430 bytes, maximum allowed is 256000000 bytes (see Ice.MessageSizeMax)"

I see this stuff:

https://trello.com/c/2GKksxIS/539-omero ... big-images

https://docs.openmicroscopy.org/omero/5 ... agesizemax

but my sysadmin skills are limited. If this is a config file somewhere I could probably edit it and restart the server. I'm on centos7 with omero 5.4.10-ice36-b105.

thanks for any and all help! -John
johnm
 
Posts: 3
Joined: Fri Mar 22, 2019 6:32 pm

Re: Ice.MessageSizeMax (again)

Postby mtbc » Thu Apr 18, 2019 9:42 am

Dear John,

On your OMERO server you could try doubling the maximum message size,
Code: Select all
bin/omero config set Ice.MessageSizeMax 500000
bin/omero admin restart

This is but an unfortunate workaround because the real problem is that large image planes should be fetched tile-by-tile rather than all at once. It may be possible to adjust your particle analysis script accordingly. In these modern days of enormous images even some of the code provided by us at OME for ImageJ also needs such adjustment.

Cheers,
Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest