Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
msResampleGDALToMap causes memory allocation error #5402
Since this commit was added e0a3448 mapserver may cause memory allocation errors for certain rasters. Attached a sample map and a vrt file (couldn't attach the source ecw it is 700MB in size).
E:\Maps\DMS>shp2img -m ecwtest_vrt.map -o ecwtest_vrt.png
I'm afraid this fix doesn't solve the the issue, if we increase the zoom level, for example by changing the EXTENT in the mapfile to:
EXTENT 13523244.2497627 -3808739.10513869 13650837.2685289 -3716866.07739124
In my particular use case the user might want to zoom out to arbitrary levels which was possible before the referred commit was added.