This is a migrated thread and some comments may be shown as answers.

RichTextBox Styles Gallery Memory Leak

3 Answers 104 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Aydın Kara
Top achievements
Rank 1
Aydın Kara asked on 26 Apr 2013, 08:29 AM
We are using RichTextbox as an editor and we have a tree where users can select the document which is to be displayed in the editor.
When there is a styles gallery in the ribbon bar, there is a memory leak. If we just remove the styles gallery from the ribbon bar, leak is resolved. 

When we investigate the memory dump, we have observed that there are multiple richtextbox instances and over  500000 instances of style objects.

thanks,

3 Answers, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 01 May 2013, 07:24 AM
Hi Hasan,

Could you send us a sample application that reproduces the leak? This would help us a lot as sometimes memory leaks are reproducible only in specific scenarios.

Greetings,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Aydın Kara
Top achievements
Rank 1
answered on 02 May 2013, 07:07 AM
Hi Boby,
Sorry it is not possible since we are working on a security classified project. 

I do not know whether this helps but we have multiple documents which can be selected from a tree and displayed on the same RadRichTextBox.
0
Boby
Telerik team
answered on 07 May 2013, 07:46 AM
Hello Hasan,
Could you try to reproduce the issue in small sample application and send it to us? We are not able to investigate the leak as we are not sure how to reproduce it. I moved your forum post to our internal ticketing system, so now you should be able to attach zipped files to this private conversation.

Regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Aydın Kara
Top achievements
Rank 1
Answers by
Boby
Telerik team
Aydın Kara
Top achievements
Rank 1
Share this question
or