[Qgis-user] Maximum number of layers

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Sun Jul 16 15:01:26 PDT 2017


Thanks for the info!

> Le 16 juil. 2017 à 16:19, dbnakuru [via OSGeo.org] <ml+s1560n5328065h76 at n6.nabble.com> a écrit :
> 
> On 07/15/2017 01:50 PM, Nicolas Cadieux wrote: 
> > Hi, 
> > What is the maximum number of layers I can open in Qgis?  Is there a setting I can change to increase it? 
> I don't know about Windows but on Linux it's at least partially a 
> operating system setting.  That is the number of open files. 
> 
> In my case I wanted to open several thousand shapefiles (each shapefile 
> is actually 3-4 files). 
> 
> So in Linux there is a limit/ulimit command you can use to increase the 
> number of open file descriptors but it can only increase it up to the 
> hard limit.  To increase the hard limit I added a file to the system 
> directory which sets various limits in /etc/security/limits.d  I called 
> it 99-nofile.con in it I increased the hard limit to 65536.  Check 
> /etc/security/limits.conf for examples.  Then I rebooted now I've been 
> able to work with projects with thousands of shapefiles with no problem. 
> 
> I have lots of memory(128GB) which might be a factor as well. 
> > Thanks 
> > Nicolas 
> > _______________________________________________ 
> > Qgis-user mailing list 
> > [hidden email] 
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> _______________________________________________ 
> Qgis-user mailing list 
> [hidden email] 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://osgeo-org.1560.x6.nabble.com/Maximum-number-of-layers-tp5328008p5328065.html
> To start a new topic under QGIS - User, email ml+s1560n4125267h38 at n6.nabble.com 
> To unsubscribe from QGIS - User, click here.
> NAML




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maximum-number-of-layers-tp5328008p5328078.html
Sent from the QGIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170716/9aac35f6/attachment.html>


More information about the Qgis-user mailing list