Changes between Version 42 and Version 43 of ConfigOptions


Ignore:
Timestamp:
Dec 12, 2015, 5:27:42 AM (8 years ago)
Author:
Even Rouault
Comment:

Update doc of GDAL_CACHEMAX to document the new default value and X% syntax

Legend:

Unmodified
Added
Removed
Modified
  • ConfigOptions

    v42 v43  
    121121=== GDAL_CACHEMAX ===
    122122
    123 This option controls the default GDAL raster block cache size.  If its value is small (less than 10000 in 1.7 and earlier, 100000 in 1.8 and later), it is assumed to be measured in megabytes, otherwise in bytes.   Note that this value is only consulted the first time the cache size is requested overriding the initial default (40MB in GDAL 1.7, but often changing for each release).  To change this value programmatically during operation of the program it is better to use GDALSetCacheMax(int nNewSize) (always in bytes).  Before GDAL 1.8.0, the maximum cache size that can be specified is 2 GB, so when specifying in megabytes, don't try setting values bigger than 2047. Since GDAL 1.8.0, it is possible to specify a 64bit value through GDAL_CACHEMAX or with GDALSetCacheMax64(GIntBig nNewSize) (but the maximum practical value on 32 bit OS is between 2 and 4 GB. It is the responsibility of the user to set a consistant value)
     123This option controls the default GDAL raster block cache size.  If its value is small (less than 100000), it is assumed to be measured in megabytes, otherwise in bytes. Starting with GDAL 2.1, the value can be set to "X%" to mean X% of the usable physical RAM. Note that this value is only consulted the first time the cache size is requested overriding the initial default (40MB up to GDAL 2.0, 5% of the usable physical RAM starting with GDAL 2.1).  To change this value programmatically during operation of the program it is better to use GDALSetCacheMax(int nNewSize) (always in bytes). Since GDAL 1.8.0, it is possible to specify a 64bit value through GDAL_CACHEMAX or with GDALSetCacheMax64(GIntBig nNewSize) (but the maximum practical value on 32 bit OS is between 2 and 4 GB. It is the responsibility of the user to set a consistant value)
    124124
    125125=== GDAL_SKIP ===