any chance you can just up++ your ulimit values? on most *nix OS this is set at the low end by default.
to inspect the values: ulimit -Hn ulimit -Sn I assume you're closing any resources after use. 2014-12-23 21:52 GMT+01:00 Gabriella Turek <gabriella.tu...@niwa.co.nz>: > I am using FeatureCollections extensively in my code. I am also using a > ShapefileDataStore. > The first thing I do is create a ReprojectingFeatureCollection (if > necessary) > and also apply a BBOX filter or some other attribute related filter. > Later on in the code I do further filtering to check if an item in the > collection either contains a point feature or intersects another feature. > My code is failing with a too many open files error. > What do I need to do to avoid this? > Thanx > Gaby > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users