ome / omero-py

Python project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
20 stars 31 forks source link

getObject("Fileset") leads to OutOfMemoryError #404

Closed will-moore closed 2 months ago

will-moore commented 3 months ago

See https://forum.image.sc/t/omero-download-of-plate-leads-to-java-out-of-memory-error/93563/5

and https://forum.image.sc/t/in-place-import-path-from-image-id-with-omero-database-incoherence-with-originalfile-filesetentry/81509/6

The query for the FilesetWrapper loads too much as described above https://github.com/ome/omero-py/blob/d76e17aa58ca755d239e9e8005712cd78239c62e/src/omero/gateway/__init__.py#L7549

This should load less initially and lazily load as needed when copyImages() or listFiles() is called.

imagesc-bot commented 3 months ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/omero-download-of-plate-leads-to-java-out-of-memory-error/93563/6