Hi all,

Probably a newbie question.  I'm trying to investigate some read rates without 
the benefit of caching from Python.  When I do this:

  from osgeo import gdal
  gdal.SetCacheMax(0)
  print gdal.GetCacheMax()

I always get the environment variable value GDAL_CACHE_MAX instead of 0.  
Throughout my test script, I can also query gdal.GetCacheUsed() and it 
increases toward GDAL_CACHE_MAX.  Am I totally misunderstanding their use?  I'm 
on Windows 7 64-bit, GDAL version 1.7.

matt
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to