| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2010.05.10 13:27 "Re: Increasing the number of files loadable through libtiff", by Edward LamHi 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 Simon R. Proud wrote: > 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. > > Thanks. Simon. > > _______________________________________________ Tiff mailing list: > Tiff@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/tiff > http://www.remotesensing.org/libtiff/ |
|||||||