Bug report #18314

QGIS has memory leaks/crashes when zooming

Added by Georg Wicke about 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
Affected QGIS version:2.18.5 Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:26204

Description

Steps to reproduce

1. Open the vector layer provided in this ticket by drag-and-dropping it onto the canvas.
2. (Optional) To provoke the leak faster, you can open the layer multiple times.
3. Observe the memory usage of QGIS.
4. Zoom in and out repeatedly using the mouse wheel.

You should see the memory usage increasing massively until QGIS eats up as much memory as it can get.

I tried this out with bigger layers at first of course, but it seems to work even with this tiny example. I guess it could be the reason for some random crashes I've been experiencing lately when working with similar (bigger) layers.

No plugins were activated.

MemoryLeakTest.zip - The shapefile to provoke the memory leak. Open multiple times, then zoom repeatedly. (40 KB) Georg Wicke, 2018-03-02 01:22 PM

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Open to Feedback

Have you tested a more recent version, like 2.18.17 or QGIS 3?

#2 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

Closing for lack of feedback.

Also available in: Atom PDF