[Solved] Memory in Grid not being garbage collected?

0 Answers 11 Views
Grid
Johan
Top achievements
Rank 2
Iron
Iron
Johan asked on 09 Apr 2026, 01:39 PM

This is version 12.3.0

An application in production grew in memory consumption to several gigabytes and I've pinpointed the problem to the grid. The data of the grid is being updated frequently and each time the data of the grid is being updated with a new list, the memory goes up with hundreds of megabyte. Even when the page is reloaded with F5, the memory is not released. 

I ran some memory profiling in visual studio 2022 but could not find anything useful (I'm not good at profiling), except that the object that has the most diff between snapshots is SharedArrayPool+Partition<Byte>

In the end I had to force a Garbage Collection before setting the Data prop of the grid, which helps.

Perhaps there is a better (or a right) way to update the data of the grid? I've tried so many things now :D

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Johan
Top achievements
Rank 2
Iron
Iron
Share this question
or