I used very simple SVGs with few points, one image and one colorfilter.
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="437.67508" height="412.57903" viewBox="0 0 437.67508 412.57903">
<defs>
<style>
.cls-1 {
fill: #fff;
stroke: #1d1d1b;
stroke-miterlimit: 10;
}
</style>
</defs>
<polygon class="cls-1" points="174.765 1.054 0.765 412.054 436.765 398.054 174.765 1.054"/>
</svg>
Had it running now for ~17hours with simulated user inputs. It seems to be stable, just the vram is completely full.
Rendering all svgs to pixel images at the beginning would be an option. But then- why bother exporting svgs in the first place?
The only reason to use vectors ATM are the path effects. Those are really cool and can just be done with SVG.
I tried to convert svg to skpath and draw these. There seems to be no memoryleak there, and performance is ok.
HowTo Sample the paths of an SVG.vl (87.6 KB)
I guess this is going to be my workaround at the time.