nodify-avalonia
nodify-avalonia copied to clipboard
[Question]
I followed your demo for testing, but after clearing the canvas, why is the memory still being occupied? I looked at the code and it should have been removed from memory.
1.First performance test, memory usage.
2.After clearing the canvas.
3.GC
4.Re-run the performance test.
It seems that the nodes rendered previously are still occupying memory, but after clearing the canvas, the program becomes smoother, indicating that the previous nodes are indeed no longer being rendered. But why do they still occupy so much memory?