[QGIS-Developer] Preview job and slow datasources

Matthias Kuhn matthias at opengis.ch
Wed Nov 15 23:11:53 PST 2017


Hi Patrick,

This uses some memory (~ canvas width pixels * canvas height pixels * 8
preview images * 32 bit RGBA), so let's assume 50 MB to 100 MB.

This consumption is independent from the number or type of layers.

Matthias


On 11/16/2017 08:02 AM, Patrick Dunford wrote:
>
> So to put it another way this is the reason why Qgis wants to use a
> huge amount of memory (40 GB) when I have a lot of raster images
> loaded in the background.
>
>
> On 16/11/17 18:56, Tim Sutton wrote:
>> Hi
>>
>>> On 16 Nov 2017, at 04:35, Patrick Dunford <enzedrailmaps at gmail.com
>>> <mailto:enzedrailmaps at gmail.com>> wrote:
>>>
>>> What is this "preview job" function?
>>>
>>>
>>
>> Its application logic to prefetch / pre-render offscreen content in
>> anticipation of user panning the map.
>>
>> Regards
>>
>> Tim
>>>
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Project chair:* QGIS.org <http://QGIS.org>
>>
>> Visit http://kartoza.com <http://kartoza.com/> to find out about open
>> source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux 
>> *IRC:* timlinux on #qgis at freenode.net <http://freenode.net>
>>
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171116/37b52b12/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171116/37b52b12/attachment-0001.jpg>


More information about the QGIS-Developer mailing list