I'm working on a project that utilizes a few RichTextEditor . When I initially start the application and have a window open with 3 RichTextEditor memory usage is 62mb.
This is fine, but when I open a window that has another RichTextEditor in it memory jumps from 62mb to 132mb (this window has two textboxes and a RichTextEditor). When closing this window memory drops only 10mb so memory is at 121mb.
If I open and close the window 5 times in a row memory usage stays at 205mb. In my application this window will be opened frequently. I have tried explicitly disposing the RichTextEditor, but doesn't seem that GC is picking it up at least not quickly (I left the application running for about an hr and it didn't drop much about 5mb).
I understand themes are loaded as static resources so once a window loads it shouldn't have to load theme resources again?
Note this is an MDI window that is docked on the RadDock. Any direction you may have would be greatly appreciated.