Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread Nyall Dawson
On 10 May 2016 at 03:38, kimaidou wrote: > Hi > > I just tested with a freshly built QGIS release-2_14 , and the issue > remains. > The easiest way to reproduce is to zoom back and forth from big scales ( ~ > 1:25 000 ) to layer extent scale ( ~ 1:600 000 ) Should be fixed by

[Qgis-developer] Is QGIS Server thread safe?

2016-05-09 Thread G. Allegri
Today me and my collegues were experimenting with a QgsApplication instance within a python web application. While doing some tests on concurrency a question arised in my mind: is QGIS Server supposed to manage concurrent requests when run as FastCGI? Probably it's a noob question but I haven't

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
Hi I just tested with a freshly built QGIS release-2_14 , and the issue remains. The easiest way to reproduce is to zoom back and forth from big scales ( ~ 1:25 000 ) to layer extent scale ( ~ 1:600 000 ) Good evening/morning Michaël 2016-05-09 15:02 GMT+02:00 kimaidou : >

[Qgis-developer] QgsFeatureRequest::FilterFid and QgsFeatureRequest::FilterFids do not retrieve the same Feature

2016-05-09 Thread René-Luc Dhont
Hi devs, I have an issue in QGIS Server with features filtered by FeatureId. I can reproduce the issue in Python console. With a vector that has joined attributes and virtual attributes, the QgsFeatureRequest::FilterFid retrieves a feature with all the attributes values but just the layer

[Qgis-developer] "Best"/most used tileserver layer method

2016-05-09 Thread Tom Chadwin
Am I right that there is no native way to add a tileserver (http://blah.com/x/y/z etc) layer in QGIS? Is there one overriding method people use - one plugin preferred over others? I want people to be able to add tileserver layers easily to qgis2web webmaps, but I have to know what form they will

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
Hi Matthias, Not yet, I need to build QGIS master before being able to report back Thanks for your answer 2016-05-09 14:59 GMT+02:00 Matthias Kuhn : > Have you tested with either the latest 2.14 nightly or master nightly? > An issue with OGR connection pooling has been

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread Matthias Kuhn
Have you tested with either the latest 2.14 nightly or master nightly? An issue with OGR connection pooling has been resolved recently. And I wonder if that could be related. -- Matthias On 05/09/2016 02:28 PM, kimaidou wrote: > I created an issue about it : http://hub.qgis.org/issues/14792 > >

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
I created an issue about it : http://hub.qgis.org/issues/14792 2016-05-09 11:48 GMT+02:00 kimaidou : > Hi again, > > I also forgot to mention that I have no memory leak when using the same > dataset in PostGIS ( tested by importing the Shapefile in PostGIS with > shape2pgsql

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
Hi again, I also forgot to mention that I have no memory leak when using the same dataset in PostGIS ( tested by importing the Shapefile in PostGIS with shape2pgsql ) Michaël 2016-05-09 11:07 GMT+02:00 kimaidou : > I forgot to mention the steps to reproduce the bug, and the

Re: [Qgis-developer] [plugins] python 3 support

2016-05-09 Thread Matthias Kuhn
Hi On 09/05/16 10:51, Denis Rouzaud wrote: > Dear all, > > I am raising this again > > Now that we can build QGIS with Qt5, Python 3, PyQt5, an open question > remains: how do plugins will handle with this? > Starting a QGIS built with PyQt5 using enabled plugins will probably > report a lot

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
I forgot to mention the steps to reproduce the bug, and the precautions to take : * open the project in QGIS 2.14 ( I have not tested with older versions) * open a terminal and use this kind of command to monitor QGIS memory consumption : htop, or ps with watch -n1 'ps -aux --sort -pmem | head

[Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
Hi devs, I have just found a memory leak in QGIS Desktop (and server) with the project available in [1] ( a 20Mo tar.bz2 ) This is a very simple project with only one buildings Shapefile ( SHP 68Mo). This layer has been exported from PostGIS from a query wich aimed to simplify the building for

[Qgis-developer] [plugins] python 3 support

2016-05-09 Thread Denis Rouzaud
Dear all, I am raising this again Now that we can build QGIS with Qt5, Python 3, PyQt5, an open question remains: how do plugins will handle with this? Starting a QGIS built with PyQt5 using enabled plugins will probably report a lot of Python crashes. Right now, there is an option to port