Unplanned
Last Updated: 01 Dec 2021 10:49 by ADMIN
Florens
Created on: 30 Nov 2021 14:33
Category: RichTextEditor
Type: Bug Report
0
RadRichTextEditor: Memory leak in the WatermarkUIProvider when adding new documents

When adding a new document to the same instance of a RichTextEditor, the UIProviderRegistry instance of the RichTextBox will keep a dictionary entry for a SectionLayoutBox that contains a reference to a non cleaned up WaterMarkUiProvider.

This SectionLayoutBox in turn has a reference to a DocumentLayoutBox (parent) which has a reference to an old document instance.

 

A new dictionary entry is added and (retained) for every document loaded.

 

Disposing the old document makes no difference.

 

 

1 comment
ADMIN
Dimitar
Posted on: 01 Dec 2021 10:49

Hello Florens,

Thank you for the detailed explanation. I was able to reproduce the case where WaterMarkUiProvider instances are remaining in the memory. I have approved this item and updated your Telerik points accordingly. 

Unfortunately, I cannot suggest a workaround for this issue.

Thank you for your understanding.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.