Hello,
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.
Can anyone help me with this issue?