Fixed Interval classification needs a safe-guard against huge number of classes #49333
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Symbology
Related to vector layer symbology or renderers
What is the bug or the crash?
The new Fixed Interval classification is awesome.
But it makes it really easy to crash the whole system if the number of classes is huge.
There needs to be a safeguard that halts before creating thousands or millions of classes and asks the user if that is what they really want with a warning (best not just about time but about memory and potentially crashing).
Steps to reproduce the issue
Warning, this might make your whole system become unresponsible, requiring a hard reboot, losing all your work.
GDP_MD
field (-99 to 21433226)GDP_MD
) using Fixed Interval classificationVersions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Supported QGIS version
New profile
Additional context
As other classification methods emit warnings before the user creates a big number of classes and because this is something that can wreck total havoc by eating all available RAM, crashing QGIS or more likely the whole system, I'd consider it a bug (oversight), not a feature request. Hope that's alright! :)
The text was updated successfully, but these errors were encountered: