Ticket #1922 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Major memory leak in ECWDataset::IRasterIO()

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.4.3
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords: ecw
Cc: gaopeng

Description

The ECWDataset::IRasterIO() function has major memory leaks of the scanline buffer.

The problem appears to go back at least as far as GDAL 1.4.0.

It does not affect blocked data access, only direct (optimized) dataset level rasterio.

I have confirmed that the similarly structured ECWRasterBand::IRasterIO() method does not have the same problem.

Change History

Changed 6 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed

Patched in trunk (r12462), 1.4 (r12463) and 1.4-esri (r12464).

Changed 6 years ago by warmerdam

note, this memory leak basically was leaking a buffer that is one scanline of the requested window of data. So applications requesting "tall" windows will generally only leak moderately.

Note: See TracTickets for help on using tickets.