[Solved] Memory in Grid not being garbage collected?

1 Answer 24 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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Apr 2026, 06:52 AM

Hi Johan,

We have a memory-related fix in version 13.0.0 that may be relevant to your scenario. If the problem persists after upgrading, then please send an isolated runnable test page for inspection.

On the other hand, our experience shows that the Blazor memory management may not be very strict. The app can take up as much memory as it can even if it doesn't need it. True garbage collection may not occur until the memory consumption actually gets close to the available limit.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Johan
Top achievements
Rank 2
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or