<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body 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<br>
    <br>
    <div class="moz-cite-prefix">On 05/09/2016 02:28 PM, kimaidou wrote:<br>
    </div>
    <blockquote
cite="mid:CAMKXKO730Ti8wyPeDAF4SKLm=qiwRURzMGOd2Fg61YQJLC7X9Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">I created an issue about it : <a
          moz-do-not-send="true" href="http://hub.qgis.org/issues/14792"><a class="moz-txt-link-freetext" href="http://hub.qgis.org/issues/14792">http://hub.qgis.org/issues/14792</a></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 moz-do-not-send="true"
              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 class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2016-05-09 11:07 GMT+02:00
                    kimaidou <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:kimaidou@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a></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
                                  moz-do-not-send="true"
                                  href="mailto:kimaidou@gmail.com"
                                  target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a></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 moz-do-not-send="true"
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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Matthias Kuhn
OPENGIS.ch - <a class="moz-txt-link-freetext" href="https://www.opengis.ch">https://www.opengis.ch</a>
Spatial • (Q)GIS • PostGIS • Open Source</pre>
  </body>
</html>