Bug report #16003
Memory Leak saving Vector Data
|Affected QGIS version:||2.14.7||Regression?:||No|
|Operating System:||Windows 7||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23919|
In QGIS 2.14.7 and 2.18.2
when I export a Shapefile using "Save As" from the context menue of the Layer the memory-consumption of QGIS (as shown in the Windows-Task-Manager) rises ~ the size of the Shapefile, even If I do not open the newly created file after the export.
The Same happens when I directly use QgsVectorFileWriter.writeAsVectorFormat(vlayer, path, 'utf-8', None, "ESRI Shapefile")
as well as when I use the Bulk vector export plugin and.
Even If I create a new project or open an other project directly after the export of the new vectorlayer the memory consumption stays high.
In QGIS 2.8.4 everything was fine
Fix large memory leak in vector file writer (fix #16003)
Every written geometry is being leaked... ouch!