| 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 |
Thread2009.10.19 16:48 "Re: Limit to the number of files loadable in LibTiff", by Bob FriesenhahnOn Mon, 19 Oct 2009, jcupitt@gmail.com wrote: > > 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. It is certainly a resource issue. Either due to a leak or using too much of something. Since you are using Linux you mean be able to use the 'memusage' facility to help understand memory usage: LD_PRELOAD=/lib/libmemusage.so yourprog And for detailed analysis, use valgrind --tool=memcheck --leak-check=full yourprog to check for leaks, and use valgrind --tool=massif yourprog to find areas of excess consumption. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||