Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Memory Leak
posted

I have noted that when I close a window that has a XamRichTextEditor control on it the window stays in memory, however that same window with no text editor on it will be garbage collected as expected when closed.  This is of great concern to the application I would like to use your control with since the particular window I am loading up with the XamRichTextEditor could potentially have a large amount of memory allocated. 

 

I use Red Gate Memory profiler 8 in order to inspect memory since visual studios does not help a lot in this respect. I would like to past the image of the reference chain it shows however I cannot seem to get a image to go in this text box.  :)

Is there some simple method I can call when closing my window to ensure the garbage collector can grab this control? 

Regards,

    Aaron

Parents
  • 22015
    posted

    Hello Aaron,

     

    Thank you for your post!

     

    I have been looking into the issue you have described. I have created a small sample application in order to test it and I was not able to reproduce the issue. I have been testing the sample application with Ants Profiler.

     

    I am attaching the sample application I have been testing with. Would you please modify it with the functionality you are using, so it shows the issue? This way I would be able to further investigate the issue for you.

     

    Thank you for the cooperation. Looking forward to hearing from you.

    RichTextEditor_MemoryLeakTest.zip
Reply Children