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

Memory leak by the DocumentSpellChecker.

2 Answers 85 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Oren
Top achievements
Rank 1
Oren asked on 12 Feb 2014, 03:03 PM
Hello,
I created a DataGrid (regular not Telerik's) with a "DataGridTemplateColumn",
The "cellEditTamplate" of the column is a "RadRichTextBox" wich is bound to my VM through a "TxtDataProvider".

While i navigate through the grid with the arrow keys (BeginEdit is invoked for selection changed), i get a huge memory leak.
You can see it in the jtm file (JustTrace): Download

any advice?
Oren.


2 Answers, 1 is accepted

Sort by
0
Accepted
Boby
Telerik team
answered on 17 Feb 2014, 08:02 AM
Hello Oren,
I examined the jtm file but I am not sure where is the problem. There are 65 live instances of RadRichTextBox which survive because of a reference from MvvmLight's EventToCommand object, which may be or may be not normal depending on the application scenario. Could you try to isolate the leak in a sample application and send it to us for further investigation? We will also need the exact version of the product you are using. Sometimes memory leaks reveal only in specific situations, and this way it would be easier to investigate it at our side.

Regards,
Boby
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Oren
Top achievements
Rank 1
answered on 17 Feb 2014, 09:21 AM
Hello Boby,

You are a life saver!

I switched from "<cmd:EventToCommand/>" to "<i:InvokeCommandAction/>" and it fixed the leak!

Thank you a lot!
Oren
Tags
RichTextBox
Asked by
Oren
Top achievements
Rank 1
Answers by
Boby
Telerik team
Oren
Top achievements
Rank 1
Share this question
or