<meta http-equiv="content-type" content="text/html; charset=utf-8"><div></div><div><br></div><div>Thanks for the info!</div><div><br>Le 16 juil. 2017 à 16:19, dbnakuru [via <a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5328078&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii">On 07/15/2017 01:50 PM, Nicolas Cadieux wrote:
<br>> Hi,
<br>> What is the maximum number of layers I can open in Qgis?  Is there a setting I can change to increase it?
<br>I don't know about Windows but on Linux it's at least partially a
<br>operating system setting.  That is the number of open files.
<br><br>In my case I wanted to open several thousand shapefiles (each shapefile
<br>is actually 3-4 files).
<br><br>So in Linux there is a limit/ulimit command you can use to increase the
<br>number of open file descriptors but it can only increase it up to the
<br>hard limit.  To increase the hard limit I added a file to the system
<br>directory which sets various limits in /etc/security/limits.d  I called
<br>it 99-nofile.con in it I increased the hard limit to 65536.  Check
<br>/etc/security/limits.conf for examples.  Then I rebooted now I've been
<br>able to work with projects with thousands of shapefiles with no problem.
<br><br>I have lots of memory(128GB) which might be a factor as well.
<br>> Thanks
<br>> Nicolas
<br>> _______________________________________________
<br>> Qgis-user mailing list
<br>> <a href="/user/SendEmail.jtp?type=node&node=5328065&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br><br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5328065&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Maximum-number-of-layers-tp5328008p5328065.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Maximum-number-of-layers-tp5328008p5328065.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under QGIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5328078&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from QGIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></div></blockquote>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Maximum-number-of-layers-tp5328008p5328078.html">Re: Maximum number of layers</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html">QGIS - User mailing list archive</a> at Nabble.com.<br/>