[gdal-dev] GDALDataset limits?

Mateusz Loskot mateusz at loskot.net
Fri Aug 1 09:17:58 EDT 2008


Daniel Morissette wrote:
> Patrick Cannon wrote:
>>
>> I do not think this is a memory issue because with the program running
>> and 1000+ datasets open it has not hit the swap.
>>
>> If it is not a limit in the library, do you have any ideas?
>>
> 
> Could you be running out of file handles?
> 
> By default, at least on my Ubuntu box, there is a maximum of 1024 file
> handles per user process. If you're on Linux you could find out the
> limit on your system with 'ulimit -a'.

I support Daniel's assumption.
On my Mac OS X 10.5 (Power PC) it's set to 256.
So, it varies significantly across operating systems.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list