[Qgis-developer] Possible memory leak in rendering code

Matthias Kuhn matthias.kuhn at gmx.ch
Mon Apr 22 23:24:04 PDT 2013


The pull request got accepted. Thank you Minoru.
Alex, could you test if this helps anything for your problem?

Matthias

On 22.04.2013 12:03, Minoru Akagi wrote:
> Hi,
>
> I found some memory leaks and attached a patch to ticket #6795.
>
> Regards,
> Minoru Akagi
>
> 2013/4/22 Matthias Kuhn <matthias.kuhn at gmx.ch>:
>> 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)
>>
>> Can you check if one of these two changes in the options fix this issue?
>> (Restart after changing)
>>
>> Cheers,
>> Matthias
>>
>> On Mon 22 Apr 2013 10:50:29 CEST, Alexander Bruy wrote:
>>> Hi all,
>>>
>>> working on QTiles plugin we found one odd issue — when number of
>>> canvas redraws is relatively big (around 200 000 - 300 000) QGIS
>>> crashed with segmentation fault. Seems there is a memory leak
>>> somewhere.
>>>
>>> I'll try to debug this more, but as I'm  not very familiar with rendering code any help and suggestions are welcome. Small test
>>> plugin to replicate this issue attached. Also it is possible to use
>>> QTiles plugin for this: just set extent and zoom levels so number of
>>> tiles is greater that 200 000 and start process. QGIS will crash
>>> at 60-70%.
>>>
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list