Bug report #574
Crash when opening .tif when projection is on
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10633|
1) Start qgis
2) Turn on projection with default WGS84
3) Load topo.tif (see #561)
4) Out of memory abort
#1 Updated by Magnus Homann about 14 years ago
Also crashes trunk. The view becomes a VERY zoomed in version of the raster. The raster reading algorithm scales the raster many times to achieve the zoom in (0.000008 map unit per pixel). As the entire raster is read into memory, a huge buffer is needed. In fact, almost a Petabyte is needed, a number so big it can't be handled in a 32 bit int.
To fix this, we need to partially read rasters into memory. Or a way to decide if they should be read at all (depending on zoom-level?). Or both?