-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
component/data-gridDataGrid componentDataGrid component
Description
I am using a grid component(V: 27.1.50) to render tasks in react based web application. When dynamically changing the data source based on the selected filter (e.g., gridInstanceMyTask.dataSource = myTasks;), selecting and de-selecting the filter triggers a re-render and updates the data. However, this process continuously increases heap memory, and it is not being garbage collected over time. The retained objects are linked to detached DOM nodes.
Here's the list of actions causing the issue:
- Selecting/de-selecting filters
- Changing the data source dynamically
- Heap memory growth due to detached DOM nodes
Snapshot showcasing retained objects:
1:
2:
3:
4:
How can I optimize memory usage and ensure proper garbage collection?
jayeshnathani14IG and Audiomate-Daniel
Metadata
Metadata
Assignees
Labels
component/data-gridDataGrid componentDataGrid component