Possible memory leak in raster_band_percentile
#316
Labels
question
Further information is requested
raster_band_percentile
#316
While working on NCI and addressing some memory issues, I noticed a consistent, gradual increase in memory usage after adding some calls to
raster_band_percentile
. As you can see from this logging, successive runs toraster_band_percentile
are causing an increase in memory usage, even after setting the GDAL max cache. I would have expected that memory usage should stay pretty much the same after re-running the same percentiles function on the same raster.The percent-memory logging (from
psutil
) is:Details
Here's a script to reproduce. The GeoTiff is a large (129600x50053) float32 raster, but any float32 raster should do to reproduce this.
The text was updated successfully, but these errors were encountered: