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

Gridview memory leak

2 Answers 239 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 11 Jun 2019, 01:08 PM

We are using the Teleik rad gridview in our WPF application but we are experienceing a memory leak. The problem with this leak is that i'm not able to reproduce it in a example application so i cannot send anything. Below is the information I get using dotMemory:

 

Type, Allocated bytes, Allocated objects, Collected bytes, Collected objects
Telerik.Windows.Data.WeakEvent+WeakListener<System.ComponentModel.PropertyChangedEventArgs>, 81600, 3400, 79200, 3300
2 (2x24bytes)

Telerik.Windows.Data.WeakEvent+WeakListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>, 72000, 3000, 69600, 2900
2 (2x24bytes)

Because I am not able to reproduce the issue I wonder if you guys can give me some tips and pointers about how to diagnose this problem. Below you'll find information about the OS, Visual studio version and the used telerik version. The backtrace does not contain any of our own code.

Windows 10

Visual Studio 2015

.net framework 4.6.1 C#

Telerik version:2019.1.220.45

 

2 Answers, 1 is accepted

Sort by
0
Daniel Banda
Top achievements
Rank 1
answered on 28 Sep 2020, 09:21 PM

Hi Marco,

 

I'm having similar issues with millions of WeakEvent+WeakListener events not garbage collected.

Were you able to solve the issue?

 

Regards,

Daniel

0
Marco
Top achievements
Rank 1
answered on 30 Sep 2020, 01:09 PM

Daniel,

Finally someone who has the same problem! I havent found a solution for it. I tried to create a simple WPF app but I couldn't get the same behaviour that I saw in the complex application. Can you reproduce the same behaviour in a sample app? Maybe then someone will look at it.

 

Marco

Tags
GridView
Asked by
Marco
Top achievements
Rank 1
Answers by
Daniel Banda
Top achievements
Rank 1
Marco
Top achievements
Rank 1
Share this question
or