AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.10.19 10:40 "Limit to the number of files loadable in LibTiff", by Simon R Proud
2009.10.19 11:05 "Re: Limit to the number of files loadable in LibTiff", by <jcupitt@gmail.com>
2009.10.19 16:48 "Re: Limit to the number of files loadable in LibTiff", by Bob Friesenhahn
2009.10.20 14:06 "Re: Limit to the number of files loadable in LibTiff", by Simon R Proud

2009.10.19 11:05 "Re: Limit to the number of files loadable in LibTiff", by <jcupitt@gmail.com>

2009/10/19 Simon R. Proud <Srp@geo.ku.dk>:
> Hi, I am using libtiff on a linux system (OpenSuSE 11) to open a very
> large number of files.
> I notice that if I open more than about 210 files I receive some
> unexpected errors from LibTiff:
> "TIFFWriteBufferSetup: [filename]: No space for output buffer
>
> I suspect it is some kind of limit within LibTiff, so is there any way
> to overcome this? I really would like to load more than 210 files at
> once (I need about 250-300), so if there's a method of changing the
> limit it would be superb to know!

Looking at the source, the message is generated if
TIFFSetupStrips(tif) fails. This in turn fails if _TIFFmalloc() fails.
So it sounds like you are running out of memory. I would try watching
your program with "top" as it runs and see how large the RSIZE column
gets.

Perhaps you can alter your program to use less RAM?

John