I have a traffic signals layer that has 500 categories in its style config (one different svg for each signal type):
The problem is that as I add new categories QGIS Map turns slower and slower. After having all the categories added I can pan and zoom ok but from time to time (every 20 seconds aprox.) it gets stuck thinking for about 15 seconds...
If I delete categories and leave only 200 categories it also gets stuck but for 6-7 seconds...looks like it is something quite proportional; The more categories the slower the map.
I also tried distributing those 500 categories between 5 layers but the performance is very similar...
What is the cause of the problem? Is there any workaround/solution?