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 , 18 years ago
Cc: | added |
---|---|
Severity: | 3 → 2 |
Status: | new → assigned |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Patch applied in fdogdal 3.2.x branch.
Note:
See TracTickets
for help on using tickets.
This has been fixed in r2571 in trunk. This modifies the files:
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.