<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 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">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>