get_cache_used: Get the size of memory in use by the GDAL block cache

View source: R/RcppExports.R

get_cache_usedR Documentation

Get the size of memory in use by the GDAL block cache

Description

get_cache_used() returns the amount of memory currently in use for GDAL block caching. Wrapper of GDALGetCacheUsed64() with return value in MB by default.

Usage

get_cache_used(units = "MB")

Arguments

units

Character string specifying units for the return value. One of "MB" (the default), "GB", "KB" or "bytes" (values of "byte", "B" and empty string "" are also recognized to mean bytes).

Value

A numeric value carrying the integer64 class attribute. Amount of the available cache memory currently in use in the requested units.

See Also

GDAL Block Cache

get_cache_max(), set_cache_max()

Examples

get_cache_used()

gdalraster documentation built on June 8, 2025, 12:37 p.m.