|
@@ -204,11 +204,12 @@ int main(int argc, char *argv[])
|
|
|
/* Fire up the engines. */
|
|
|
/* -------------------------------------------------------------------- */
|
|
|
GDALAllRegister();
|
|
|
+ /* default GDAL memory cache size appears to be only 40 MiB, slowing down r.in.gdal */
|
|
|
if (parm.memory->answer && *parm.memory->answer) {
|
|
|
GDALSetCacheMax(atol(parm.memory->answer) * 1024 * 1024);
|
|
|
- G_message(_("Using user memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
|
|
|
+ G_verbose_message(_("Using user memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
|
|
|
} else
|
|
|
- G_message(_("Using default GDAL memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
|
|
|
+ G_verbose_message(_("Using default GDAL memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
|
|
|
|
|
|
|
|
|
/* -------------------------------------------------------------------- */
|