Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1922 closed defect (fixed)

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 (2)

comment:1 by warmerdam, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by warmerdam, 17 years ago

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.