Hello,
I noticed 2 problems a long time ago, but only now I had time to find the reasons.
WinFormsApp1\Fomenu.NET\Controls\GridContainer.Designer.cs
Can you help me please why this memory leak happen with this property and how can I fix it?
With many objects, the designer will become slower and slower, and eventually it will have to be restarted. Please watch attached video (vibrating.mp4) to see the problem. Do you have any idea why this happen?
Hi SZL,
Find the response for the query below.
|
Query |
Response |
|
problem:
When I set the BorderColor property of the grid in Designer.cs file, a memory
leak appear. At runtime the GDI objects count increasing every second with 9-10
new items also in idle form too. I can watch the GDI objects count in Windows
Task Manager. When it is reach 10000 my application crashing with GDI+
exception. My application always gets slower as the number of GDI objects
increases. |
You can track the status of this report through the following feedback link:
Feedback Link: https://www.syncfusion.com/feedback/39436/memory-leak-occurs-when-set-the-bordercolor-property-to-sfdatagrid Note: The provided feedback link is private, and you need to login to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
|
With many objects, the designer will become slower and slower, and eventually it will have to be restarted. Please watch attached video (vibrating.mp4) to see the problem. Do you have any idea why this happen?
|
We have checked the issue on our end. But the issue has not been replicated for us.
|
Hi,
Thank you for help!
The second problem is gone in my side too, not understand why, I watch it in the future and I will write to MSDN when occurs again. I wrote here just because with the original NET controls it didn't appear.
BR, SZL
SZL,
We would like to let you know that Essential Studio Weekly NuGet packages (v20.4.0.41) have been published in nuget.org with the fix for the issue “Memory leak occurs when the BorderColor property is set to SfDataGrid”. Please let us know if you have any concerns about this.
Hi,
Thank you very much, its works fine!
BR, SZL