AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.11.24 19:40 "[Tiff] TIFFWriteScanline corrupts buffer when compression with predication is enabled", by William B Thompson
2008.11.26 15:44 "[Tiff] Memory leak opening and closing files?", by Eric Bruneton
2008.11.26 16:54 "Re: [Tiff] Memory leak opening and closing files?", by Frank Warmerdam
2008.11.26 17:13 "Re: [Tiff] Memory leak opening and closing files?", by Bob Friesenhahn
2008.11.27 09:35 "Re: [Tiff] Memory leak opening and closing files?", by Eric Bruneton
2008.11.27 10:22 "Re: [Tiff] Memory leak opening and closing files?", by

2008.11.26 17:13 "Re: [Tiff] Memory leak opening and closing files?", by Bob Friesenhahn

the following program shows a constant increase in memory usage, so I suspect a memory leak in the tiff library (using libtiff 3.8.2-1 on Windows):

     for (int i = 0; i < 1000000; ++i) {
         TIFF *f = TIFFOpen("test.tiff", "rb");
         TIFFClose(f);
     }

Libtiff is open source software. Once you have isolated the problem, please send a patch to correct it.

Thanks,

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/