internetarchive / iiif

The official Internet Archive IIIF service
GNU General Public License v3.0
21 stars 4 forks source link

Issue with very large image throws heap error #13

Open glenrobson opened 11 months ago

glenrobson commented 11 months ago

Image:

https://iiif.archive.org/image/iiif/3/esa-hubble-andromeda-galaxy-iiif-demo%2Fheic1502a.tif/full/313,100/0/default.jpg

Manifest:

https://iiif.archive.org/iiif/3/esa-hubble-andromeda-galaxy-iiif-demo/manifest.json

glenrobson commented 11 months ago

We think as this is a tiff Cantaloupe needs to load the image into memory. So the only solution would be to give Cantaloupe more memory or convert these to jp2 files.

It would be good to know how comon this type of situation is, we could also do a derivative image.

See how often this occurs. Would be good to know the upper limits for this.

hadro commented 11 months ago

Note to make a comment about image size in the forthcoming documentation