<div dir="ltr"><div><div><div><div>Hi <br><br></div>I just tested with a freshly built QGIS release-2_14 , and the issue remains. <br></div>The easiest way to reproduce is to zoom back and forth from big scales ( ~ 1:25 000 ) to layer extent scale ( ~ 1:600 000 )<br><br></div>Good evening/morning<br></div>Michaël<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-09 15:02 GMT+02:00 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Matthias,<br><br>Not yet, I need to build QGIS master before being able to report back<br></div>Thanks for your answer<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-05-09 14:59 GMT+02:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Have you tested with either the latest 2.14 nightly or master
    nightly?<br>
    An issue with OGR connection pooling has been resolved recently. And
    I wonder if that could be related.<br>
    <br>
     -- Matthias<div><div><br>
    <br>
    <div>On 05/09/2016 02:28 PM, kimaidou wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">I created an issue about it : <a href="http://hub.qgis.org/issues/14792" target="_blank"></a><a href="http://hub.qgis.org/issues/14792" target="_blank">http://hub.qgis.org/issues/14792</a><br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-05-09 11:48 GMT+02:00 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>Hi again,<br>
                  <br>
                </div>
                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 )<br>
                <br>
              </div>
              Michaël<br>
            </div>
            <div>
              <div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2016-05-09 11:07 GMT+02:00
                    kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank"></a><a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>I forgot to mention the steps to
                                reproduce the bug, and the precautions
                                to take :<br>
                                <br>
                              </div>
                              * open the project in QGIS 2.14 ( I have
                              not tested with older versions)<br>
                            </div>
                            <br>
                            * open a terminal and use this kind of
                            command to monitor QGIS memory consumption :
                            htop, or ps with<br>
                            watch -n1 'ps -aux --sort -pmem | head -5'<br>
                            <br>
                          </div>
                          * Navigate through the project by zooming in
                          and out, pan, etc. I think you emphasize the
                          memory leak by displaying the layer at small
                          scale ( with many buildings displayed)<br>
                          <br>
                        </div>
                        <div>* Be aware that this will increase the
                          memory, so keep an eye on the memory
                          consumption so that your system has enough
                          free memory to work properly.<br>
                        </div>
                        <div><br>
                        </div>
                        Michaël<br>
                      </div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">2016-05-09 11:00
                              GMT+02:00 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank"></a><a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                <div dir="ltr">
                                  <div>
                                    <div>
                                      <div>
                                        <div>Hi devs,<br>
                                          <br>
                                        </div>
                                        I have just found a memory leak
                                        in QGIS Desktop (and server)
                                        with the project available in
                                        [1] ( a 20Mo tar.bz2 )<br>
                                        <br>
                                      </div>
                                      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 fast rendering. <br>
                                      <br>
                                      The geometries have been
                                      simplified ( I used SnapToGrid,
                                      then (St_Dump(St_Union(a.geom))) 
                                      to remove as many nodes as
                                      possible )<br>
                                      <br>
                                    </div>
                                    The layers has ~ 700 000 features.<br>
                                    <br>
                                  </div>
                                  Has anyone encoutered such a leak ? <br>
                                  <div>
                                    <div>
                                      <div>
                                        <div><br>
                                          [1] <a href="https://framadrop.org/r/_7VsZtvzdU#+eJHHPPOIdVcgj/AUp8V91T9m6gmO7/XCh6uOhzP7ro=" target="_blank">https://framadrop.org/r/_7VsZtvzdU#+eJHHPPOIdVcgj/AUp8V91T9m6gmO7/XCh6uOhzP7ro=</a><br>
                                          <br>
                                        </div>
                                        <div>Cheers,<br>
                                          <br>
                                          Michaël<br>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <pre cols="72">-- 
Matthias Kuhn
OPENGIS.ch - <a href="https://www.opengis.ch" target="_blank">https://www.opengis.ch</a>
Spatial • (Q)GIS • PostGIS • Open Source</pre>
  </font></span></div>

<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>