Opened 18 years ago

Closed 18 years ago

#14 closed defect (fixed)

GDAL Provider opening files too often

Reported by: warmerdam Owned by: warmerdam
Priority: major Milestone: 3.3.0
Component: GDAL Provider Version: 3.2.0
Severity: 2 Keywords:
Cc: gregboone External ID:

Description

It seems the GDAL provider is opening and closing files far more often than would be expected in some situations. This is quite noticable if you run the PNG UnitTest with the CPL_DEBUG environment variable set to ON.

Change History (2)

comment:1 by warmerdam, 18 years ago

Cc: gregboone added
Severity: 32
Status: newassigned

This has been fixed in r2571 in trunk. This modifies the files:

Src/Provider/FdoRfpDatasetCache.cpp Src/Provider/FdoRfpGeoRasterExtractor.cpp

It seems the reference counting was fairly mixed up on FdoRfpDatasetCache.cpp, potentially causing an aweful lot of extra dataset opens. I think this should be migrated back to the 3.2.x branch. Adding Greg as a cc: to let me know which branch or branches this ought to go back into.

comment:2 by warmerdam, 18 years ago

Resolution: fixed
Status: assignedclosed

Patch applied in fdogdal 3.2.x branch.

Note: See TracTickets for help on using tickets.