Memory Leaking and buggy Editor #23838
Labels
area-controls-editor
Editor
memory-leak 💦
Memory usage grows / objects live forever (sub: perf)
platform/windows 🪟
s/needs-info
Issue needs more info from the author
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Description
I can't exactly reproduce this since i don't know what exactly is causing this. But im sure it's the Editor, because it's also bugging somehow + because the most ram is used by .NET MAUI UI functions:
(Debugged with JetBrains dotMemory, VS2022 only showed the heap i think, whatever it didn't show the unmanaged Memory)
Steps to Reproduce
Also the Bug with the Editor, when writing much text, it gets invisible:
Without any changes but currently in Edit Mode:
Then Spam a char until it hits the next line:
One char behind:
After:
Write until the end of the Next line(Until it can't anymore, it'll stop there):
Now exit edit mode(If mleak doesn't occour, repeat above steps again WITHOUT CLEARING THE TEXT, add to it instead):
Look how the Ram usage goes Rocket.
Code:
Simple Model, arrows pointing to the vars the Editor/Upcoming code uses:
In the ViewModel:
And the Simple Event:
Link to public reproduction project repository
No response
Version with bug
9.0.0-preview.6.24327.7
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: