What is the bug or the crash?
When using the virtual raster provider (on-the-fly raster calculations), memory usage grows continuously with panning/zooming and is not released when the layer is removed or the project is closed. Memory is only freed when QGIS is fully closed.
Steps to reproduce the issue
Start a new project, fresh profile. Set CRS and
- drag in GeoTiff.
- create virtual raster : raster > raster calculator > tick create on the fly raster
- add one band to another band
- ok, zoom pan around. watch memory grow and grow....
remove layers, no change to memory
close and start new project, no change to memory
close qgis - memory released
tested on 2 machines with latest vis osgeo4w
Versions
| QGIS version | 3.44.6-Solothurn |
| QGIS code revision | fb066c58058 |
| |
| Libraries |
| Qt version | 5.15.13 |
| Python version | 3.12.12 |
| GDAL version | 3.12.1 — Chicoutimi |
| PROJ version | 9.7.1 |
| EPSG Registry database version | v12.029 (2025-10-03) |
| GEOS version | 3.14.1-CAPI-1.20.5 |
| SQLite version | 3.50.4 |
| PDAL version | 2.9.0 |
| PostgreSQL client version | 17.3 |
| SpatiaLite version | 5.1.0 |
| QWT version | 6.3.0 |
| QScintilla2 version | 2.14.1 |
| OS version | Windows 11 Version 2009 |
| |
| Active Python plugins |
| db_manager | 0.1.20 |
| grassprovider | 2.12.99 |
| MetaSearch | 0.3.6 |
| processing | 2.12.99 |
Supported QGIS version
New profile
Additional context
No response
What is the bug or the crash?
When using the virtual raster provider (on-the-fly raster calculations), memory usage grows continuously with panning/zooming and is not released when the layer is removed or the project is closed. Memory is only freed when QGIS is fully closed.
Steps to reproduce the issue
Start a new project, fresh profile. Set CRS and
remove layers, no change to memory
close and start new project, no change to memory
close qgis - memory released
tested on 2 machines with latest vis osgeo4w
Versions
Supported QGIS version
New profile
Additional context
No response