Unplanned
Last Updated: 09 Jul 2025 08:24 by ADMIN
Sascha
Created on: 02 Jul 2025 12:49
Category: UI for Blazor
Type: Bug Report
7
Grid: Memory Leak through detached DOM elements

In our application we use some large datasets and present them in a TelerikGrid. We use WPF + Blazor Hybrid and noticed, that in some cases the memory usage of the Web View process grows up to some gigabytes.

Here a screenshot of the task manager with a lot of RAM usage for the web view.

Here a screenshot of the detached DOM elements after a two navigations. The container divs are not garbage collected.

I tracked down the issue to come from the TelerikGrid, because when I remove it from the pages, everything runs fine. I also removed all GridColumns and the issue is still present. In the developer tools I noticed that one of the parent div elements remains in memory every time I navigate back and forth.

I also created a blank Blazor WebAssembly Standalone application and added a simple instance of the grid. Here, the issue is also present. I attach the one blazor page that causes the issue.

I've tested all major versions from 5.1 upwards, every version is affected.

Attached Files:
1 comment
ADMIN
Tsvetomir
Posted on: 09 Jul 2025 08:24

Hello Sasha,

Thank you for the detailed information about the encountered behavior.

After reviewing it with the team, I can confirm that such behavior needs optimization and improvement. With that in mind, I'm marking the item as valid by changing its status to "Unplanned". Thank you for pointing that out to us.

As a creator of the item, you are automatically subscribed to receive email notifications for any status changes.

Also, as a token of appreciation, I'm rewarding your account with some Telerik Points.

Regards,
Tsvetomir
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.