jmoore wrote:I added you to the ticket CC.
Thank you
jmoore wrote:If you can get Pillow to write out tiled TIFFs, then that would be the most efficient.
I already export tiles for my viewer. I'll check the Omero docs to see what it expects.
jmoore wrote:jamesan wrote:Is there a way to remove the limits entirely?
Not likely, or at least not in a reasonable time frame. Some formats simply aren't conducive to reading plane sections.
Originally I was referring to the Java limits. I agree PNG isn't a good choice to scale to these large sizes. Is Omero able to read something like an uncompressed TIFF file without loading the entire file? I generally like having a single file blob of all the data if the file is only a few GB.
jmoore wrote:jamesan wrote:If there is no guarantee that Omero can run in a reduced memory space my preference would for Omero to default to an unlimited memory use configuration on initial installation. The server I have it running on has 64GB of RAM.
Unfortunately, that's not possible either with Java. An explicit upper limit must be set. We have debated back and forth on how high to set the initial upper limit. At the moment, it's quite low with the intent that anyone can get started, but that then a "hardening" configuration needs to be used to put the server into production. Do you think if there was a single command to do this "hardening" that that would meet your needs/expectations?
I was worried it was a Java thing. I haven't used Java in my career besides seeing it cause memory management problems in Matlab too.
I'd suggest the "hardening" command run during setup automatically and configure Java to take full advantage of system resources. The server install is involved enough that few are doing it for fun. A developer has the skills to turn down the memory limits for testing. An IT person runs Omero in a VM or a dedicated machine and wants it to use all of the resources provided. The extra config layer is just more work. Shipping non-production settings just causes errors and adds extra steps to setup.
Perhaps the sophisticated user can use a command like
- Code: Select all
omero admin config memory=50%
to tell Omero to configure Java to use at most 50% of the system memory. I can only think of some rare cases I'd want to do that. If I was the dev I wouldn't bother until asked.