I'm an intern who's working in a trading firm. The firm uses a WPF windows application which mostly consists of graphs and grids. The application used MVVM model. I have used Sfdatagrid in all our windows. Each row consists of 25-30 columns and there can be approximately 50-100 rows. Every row will get updated every second from a service. The service used a dispatcher's begininvoke to update the grids. The grid is bound to its viewmodel and gets updated every second using notify property changed.
Each row in the grid represents a particular instrument belonging to a group. I have used allow grouping property to group all instruments belonging to a particular group. I have also used Allow Data shaping property for the rows whenever there's an edit in that particular row. There are also 3-4 converters which format the values in the rows every second.( like converting rupees to crores etc)
I have tested the application with a number of users who have a system configured with 16GB RAM. Memory usage keeps increasing upto 14GB and the disk usage become 100%, when grouped. There can be approx. 6-8 groups.
I have also tested the same without grouping. Memory usage was stable and only reached upto 2GB. The application ran for an entire day.
In a normal case, there can be only 2 or 3 windows opened for the entire day and grouped. This should not increase the memory to 14GB? I have also checked for any memory leaks in the code using the memory profiler and there were none.
MAMohanram Anbukkarasu Syncfusion Team October 14, 2019 08:30 AM
Thanks for contacting Syncfusion support.
We have checked the reported scenario by creating a simple sample based on the provided details. But unfortunately we are unable to find the reported amount of memory consumption in it. Please find the sample we have used from the following link.
Please check this sample and please let us know if we missed any customization you have done in your application and if possible modify the above sample to replicate the issue in it. Also please let us know how you are checking the memory consumption in your application. It will be helpful for us to provide a proper solution at earlier.
VN Varsha NatrajanOctober 27, 2019 10:36 AM
Hey, Sorry for the delay. I'm trying to replicate the issue. Will get back to you as soon as possible.
FPFarjana Parveen Ayubb Syncfusion Team October 27, 2019 11:15 AM