On 22 February 2017 at 10:25, <[email protected]> wrote: > I am all for moving ahead. > > I was checking out another application with `valgrind` on Ubuntu 17.04 > 64-bit so thought I would give `qgis` a try eg. > > valgrind --leak-check=full ./output/bin/qgis > > Is this only with my build (simply entering and exiting the qgis > application) or does it affect anyone else? Are there better tools?
Valgrind is great, but slows things down a LOT. lsan (via clang) isn't quite as thorough but doesn't slow things down as much. Do you have the full valgrind report? There IS leaks in QGIS.... but the known ones are harmless (eg the metadata for QgsVectorFileWriter is leaked, but it occurs only once per session). I also see a lot of leaks when I run valgrind under Ubuntu because of Unity's dbus menu integration. Keen to hear if you do find any leaks inside QGIS itself though! Nyall _______________________________________________ Qgis-developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
