[Qgis-developer] memory leak?

Nyall Dawson nyall.dawson at gmail.com
Wed Mar 29 14:25:46 PDT 2017


On 30 March 2017 at 06:08, Kosza Antal <kosza.antal at gmail.com> wrote:
> Richard Duivenvoorde a következőt írta ekkor: 2017. március 29., szerda
> 20:11:10 EEST
>
>
> Hi Rchard,
>
> I have two Debian testing machine, with the same problem.
>
>
> This is a fresh, qgis 2.18 build, without any flag (i use to used -
> march=native), just changing the install path
>
> So, after starting qgis, i loaded a 2.8 GB tiff image, and started to zoom in
> and out and pan, then i closed qgis:
>
> Here is the result:
>
> valgrind --leak-check=yes ~/FLOSS/qgis/apps_r218_no_flag/bin/qgis
>
> ==10934== Memcheck, a memory error detector
> ==10934== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
> ==10934== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright
> info
> ==10934== Command: /home/toni/FLOSS/qgis/apps_r218_no_flag/bin/qgis
> ==10934==
>
> ...
>
> ==10934== HEAP SUMMARY:
> ==10934==     in use at exit: 71,451,749 bytes in 140,904 blocks
> ==10934==   total heap usage: 8,811,520 allocs, 8,670,616 frees, 3,103,929,435
> bytes allocated

Interesting - are you running a debug build? Can you post the full log
(to pastebin or similar) using the "--leak-check=full
--show-leak-kinds=all" flags?

Nyall


More information about the Qgis-developer mailing list