Francesco Tamborra

Results 17 comments of Francesco Tamborra

Hello Ryan, I recreated your environment but I still observe the leak 😕 ![still_leaking](https://github.com/rasterio/rasterio/assets/20300069/cbef248c-5bc5-485a-a240-e16b2ee3f14c) Your memory profile looks like the "inverted scenario" in which the leak is not observed, though....

Hello @groutr , It is indeed really weird that we don't have the same behavior since the environment is the same (even the packages build are specified in the yaml...

@sgillies the script I 'm using is not appending indefinitely but only in batches of 32 images and 32 masks and then the lists are emptied and the garbage collector...

> Rasterio is in the conda-forge channel https://anaconda.org/conda-forge/rasterio. I recommend getting everything you can from it because it's more current than the default conda channel. `mamba install -c conda-forge gdal...

@groutr I used `pip install rasterio` so I guess I was using the binary wheel and the dependencies, such as `affine` were also installed via pip. At least that seems...

Hello again ! I was going back to my original project on our remote machines hoping to have solved any problem but the memory leak with rasterio persists 😭 I...

> Perhaps try adding sys.getrefcount(img) and sys.getrefcount(mask) to compare if there are differences between the rio and gdal paths? In a non-leaking scenario, I would anticipate the counter to be...