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.27 10:22 "Re: [Tiff] Memory leak opening and closing files?", by

2008/11/27 Eric Bruneton <Eric.Bruneton@inria.fr>:

I haven't found it. However I found that when compiling the libtiff code together with my application code in a single executable (i.e. without using a separate static library for libtiff), then the problem disappears. So it might be due to fragmentation, but I don't understand why this fragmentation occurs in one case but not in the other.

There's also the low-fragmentation heap:

  http://msdn.microsoft.com/en-us/library/aa366750(VS.85).aspx

you could see if this reduces the problem.

John