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

Templating RadComboBox result in memory leak

1 Answer 83 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Grégoire
Top achievements
Rank 1
Grégoire asked on 27 Aug 2013, 01:31 PM
Hi,

As stated by the tilte, I am using a custom template on a RadComboBox and getting a memory leak. My comboboxes keep an indirect link to a disposed ObjectContext as long as the combobox is alive. Here how it goes ( -> = "links to") :

- Window
-> (some intermediate elements)
-> RadComboBox (SelectedValue property bound to the edited property of "SomeData")
-> Popup
-> PopupRoot
-> EffectiveValueEntry[]
-> SomeData (was stored in RadComboBox.DataContext)
-> ObjectContext (~ 10 Mo)


I tried to reproduce it in a sample project using the exact same template whitout any succes so I suppose this has to do with how I build my Forms.

- Do you have an idea of what could cause this ?
- Do you know an effective way to remove an element from EffectiveValueEntry[] without removing the binding ?

thanks,

Greg

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 30 Aug 2013, 08:05 AM
Hi Greg,

I would strongly recommend trying our JustTrace tool to chase memory leaks. You could download a 30 days trial here with 72h turn-around support by the same developers who built JustTrace. JustTrace will help you in just few steps to locate the cause of the memory leak.

Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ComboBox
Asked by
Grégoire
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or