-
2010.05.10 13:27 "Re: [Tiff] Increasing the number of files loadable through libtiff", by Edward Lam
- 2010.05.10 15:30 "Re: [Tiff] Increasing the number of files loadable through libtiff", by Simon R. Proud
- 2010.05.10 14:01 "Re: [Tiff] Increasing the number of files loadable through libtiff", by Olivier Paquet
2010.05.10 13:27 "Re: [Tiff] Increasing the number of files loadable through libtiff", by Edward Lam
Hi Simon,
Things come to mind offhand:
- Are you careful to only read on strip at a time across all files? ie. Using the strip-oriented interface appropriately: http://www.remotesensing.org/libtiff/libtiff.html#strips
- Make sure you're not holding onto memory longer than you need it.
- TIFFOpen() flags: Use "m" to disable memory mapping, and probably "C" to enable strip chopping. See http://www.remotesensing.org/libtiff/man/TIFFOpen.3tiff.html
- Examine the underlying cause of your error. Are you exceeding the maximum number of file handles allowed?
Regards,
-Edward
Hi all, some time ago I posted a thread about not being able to load large numbers of TIFFs using TiffOpen ( http://www.asmail.be/msg0054686850.html ), for some reason I can't reply to that now. Anyway, I have now hit a similar problem again. I need to open a large number of TIFFs at once (totalling ~18Gb), but only have 16Gb of memory.
Is there any way to overcome this and be able to open all files simultaneously? I've tried fiddling with the numerous TIFFOpen options ("rM", "rCm", "rcm" etc) but have had no luck.
I only need to read one scanline at a time (which for all files would total about 20Mb!), so don't see that memory for the entire file is required.
Any ideas, assistance, etc? Apologies if this is a very basic query, I'm something of a novice programmer.