GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
284 stars 57 forks source link

RangeError: Array buffer allocation failed #87

Open CatchSandeepVaid opened 2 years ago

CatchSandeepVaid commented 2 years ago

Describe the bug using this link, When loading large .tif file (197MB), its giving error

960ce751-ddb9-46c7-b8d1-c2b83fa92b34:10 Uncaught (in promise) RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at K (960ce751-ddb9-46c7-b8d1-c2b83fa92b34:10) at W.getArrayForSample (960ce751-ddb9-46c7-b8d1-c2b83fa92b34:10) at W.readRasters (960ce751-ddb9-46c7-b8d1-c2b83fa92b34:10) at 960ce751-ddb9-46c7-b8d1-c2b83fa92b34:8

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.