Bug report #21776
rendering cycles forever when viewing raster at certain scales
|Affected QGIS version:||3.6.1||Regression?:||No|
|Operating System:||Win 10||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29591|
When viewing high resolution LiDAR rasters, the canvas renders continuously and the LiDAR segments flash on and off at certain scales.
The problem exhibits when the raster has the opacity widget enabled on the label. Problem disappears when widget is removed.
Associated behaviour is that the UI hangs with the blue busy wheel for approx. a minute, then for 10 seconds will respond, then goes busy again and cycles forever. As well, the QGIS process size keeps increasing by 10MB blocks as reported by Task Manager. I eventually have to terminate the process because it will expand to more than 15GB in size.
#2 Updated by Tony Walters over 1 year ago
- Status changed from Feedback to Open
The project where this behaviour occurs is very large - many GB. I created a small project with one of the LiDAR rasters that were exhibiting the behaviour. Unfortunately, the problem does not occur on that. I attach the link to the files anyway.
As a note, the problems does seem to be worse when there are many layers. Is it possible that with many layers the system has to continuously iterate across the layers? Should there be an index on the layers or some mechanism to make that a lightweight function?
It will be hard to de-compose the main project incrementally to see where the problem goes away (if it does).
Any other suggestions on how I can assist debugging this?