Memory leak by the DocumentSpellChecker.

3 posts, 1 answers
  1. Oren
    Oren avatar
    21 posts
    Member since:
    Mar 2012

    Posted 12 Feb 2014 Link to this post

    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?

  2. Answer
    Boby avatar
    589 posts

    Posted 17 Feb 2014 Link to this post

    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.


    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).

  3. DevCraft banner
  4. Oren
    Oren avatar
    21 posts
    Member since:
    Mar 2012

    Posted 17 Feb 2014 in reply to Boby Link to this post

    Hello Boby,

    You are a life saver!

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

    Thank you a lot!
Back to Top