[Qgis-developer] Possible memory leak in rendering code

Martin Dobias wonder.sk at gmail.com
Mon Apr 22 04:42:23 PDT 2013


On Mon, Apr 22, 2013 at 10:54 AM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
> Hi Alex,
>
> I found in the past particularly two things making the rendering more
> stable:
> * Disable Render Cache
> * Enable Backbuffer (only availale in X11/Linux)

By the way, it would be a good thing to remove render caching
completely before 2.0. In any case it will need to be reworked when
moving to multi-threaded rendering... it has only a limited
functionality of storing previously rendered map in each layer and
reusing it in case the extent has not changed. Unfortunately the
rendered image is stored directly within QgsMapLayer class - in order
to work properly, the cache should be kept internally within each
QgsMapRenderer instance.

Martin


More information about the Qgis-developer mailing list