See [dSTORM .tif files OMERO.insight upload crash; JVM Maximum heap](https://forum.image.sc/t/dstorm-tif-files-omero-insight-upload-crash-jvm-maximum-hea/118484). Have to check if there's a way to automatically determine a better max heap size than setting to fixed 4GB.