Opened 14 years ago
Last modified 14 years ago
#3689 closed enhancement
[PATH] Allow using more than 2GB for GDAL cache — at Initial Version
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | gdal cache |
Cc: | warmerdam |
Description
The attached patch changes the internal type of the max cache size to GIntBig to allow more than 2GB for GDAL cache. It introduces the GDALSetCacheMax64(), GDALGetCacheMax64() and GDALGetCacheUsed64() API. Old 32 bit API are preserved for backward compatibility. Old 32 bit API warn the user if they must be truncated the returned value (GetCacheMax() and GetCacheUsed()). GDALSetCacheMax64() warns when the user tries to pass a value greater than the max int on a 32bit GDAL build.
Any objection ?
Note:
See TracTickets
for help on using tickets.