internetarchive / iiif

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

fluctuating Error 500 on IIIF image requests #65

Open mprove opened 3 months ago

mprove commented 3 months ago

sometimes / sometimes not error 500 Internal Server Error. Java heap space. java.lang.OutOfMemoryError: Java heap space ) for

https://iiif.archive.org/image/iiif/3/mapofgreatbritai00jcsm%2Fmapofgreatbritai00jcsm_jp2.zip%2Fmapofgreatbritai00jcsm_jp2%2Fmapofgreatbritai00jcsm_0000.jp2/pct:3,5,95,96/max/0/default.jpg https://iiif.archive.org/image/iiif/3/map198204072%2F1982-04-072.TIF/pct:2,3,93,94/max/0/default.jpg https://iiif.archive.org/image/iiif/3/herzogthum-braunschweig-karte%2FHerzogthum%20Braunschweig%20-%20Karte.jpg/pct:9,10,76,79/max/0/default.jpg https://iiif.archive.org/image/iiif/3/dr_view-plate-39-church-of-st-mary-of-the-manger-at-bethlehem-church-of-12190324%2F12190324.jp2/pct:10,8,87,84/max/0/default.jpg https://iiif.archive.org/image/iiif/3/dr_view-plate-39-church-of-st-mary-of-the-manger-at-bethlehem-church-of-12190324%2F12190324.jp2/pct:10,8,87,84/max/0/default.jpg

If the error shows up it could be gone a minutes later.

A test case: https://mprove.de/chrono?q=66.08027,21.39488&z=12.21&r=5&t=22&m=IAarkivkopiase-ekonom-J133-25l8a51&d=1 If the map does disappear after a smaller version has been loaded for the fraction of a second, press key D to switch dark mode to reload the image. Sometimes this helps. Sometimes not.

sammeltassen commented 1 month ago

Uploaded a jpg to the IA yesterday of 10500 x 7350 pixels: https://archive.org/details/lametrobikemap Then tried the IIIF service which seemed to work well right away but then started throwing the following errors for tile fetches:

500 Internal Server Error Java heap space java.lang.OutOfMemoryError: Java heap space

Request: https://iiif.archive.org/image/iiif/3/lametrobikemap%2Flabiketransitmap.jpg/full/328,/0/default.jpg