Skip to content

Memory leak in grid component (V: 27.1.50) #151

@SSangole

Description

@SSangole

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

UI referring snapshot 1:
snap_1_UI

UI referring snapshot 2:
snap2UI

Snapshot showcasing retained objects:
1:
el_snapshot
2:
fnc_snapshot
3:
td_snapshot
4:
V8_snapshot

How can I optimize memory usage and ensure proper garbage collection?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions