[Qgis-developer] Possible memory leak in QGIS redraws?

Nyall Dawson nyall.dawson at gmail.com
Thu Oct 8 11:48:47 PDT 2015


On 9 Oct 2015 01:53, "Régis Haubourg" <regis.haubourg at eau-adour-garonne.fr>
wrote:
>
> Hi all,
> I try to narrow down a production issue here.
> In long sessions with lot's of redraws on complex projects, memory seems
to
> increase regularly.
>
> In a more simple environnement with no plugins, just sending multiple
> redraws using F5 key triggers it.
> It grows quite fast on 2.6 up to 4Go sometimes, quite slower in master and
> 2.10. Every 5-6 redraws, QGIS adds 1Mo of RAM in 2.6, less often in recent
> versions.
>
> If confirmed, and if nothing else is to be blamed (windows?, QT?) this is
a
> serious issue for enterprise uses, especially if we want to build
> application that run all day long with many canvas redraws.
>
> Could anyone try to reproduce this ?

I've been seeing this with large atlas exports too. I can reproduce in 2.8,
in 2.10 it was much worse, but in master it's back to 2.8 levels.

Tried everything I can to track this down with no luck. My suspicion at the
moment is a leak in either qt or geos. I'd be interested to see if geos 3.5
has any effect...

Nyall

>
> Redrawing while previous redraw is not over could be at fault?
>
> Thanks for your help.
> Cheers
>
>
>
>
> --
> View this message in context:
http://osgeo-org.1560.x6.nabble.com/Possible-memory-leak-in-QGIS-redraws-tp5228794.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151009/04b61468/attachment.html>


More information about the Qgis-developer mailing list