[Qgis-developer] memory leak?

Kosza Antal kosza.antal at gmail.com
Wed Mar 29 13:08:11 PDT 2017


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

.....


==10934== LEAK SUMMARY:
==10934==    definitely lost: 137,708 bytes in 2,215 blocks
==10934==    indirectly lost: 5,462,574 bytes in 13,097 blocks
==10934==      possibly lost: 2,396,216 bytes in 16,176 blocks
==10934==    still reachable: 63,455,251 bytes in 109,416 blocks
==10934==                       of which reachable via heuristic:
==10934==                         newarray           : 5,800 bytes in 17 
blocks
==10934==                         multipleinheritance: 121,328 bytes in 170 
blocks
==10934==         suppressed: 0 bytes in 0 blocks
==10934== Reachable blocks (those to which a pointer was found) are not shown.
==10934== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==10934== 
==10934== For counts of detected and suppressed errors, rerun with: -v
==10934== Use --track-origins=yes to see where uninitialised values come from
==10934== ERROR SUMMARY: 28738 errors from 835 contexts (suppressed: 0 from 0)



More information about the Qgis-developer mailing list