igx-grid memory leak - a data object bound to an igx-grid is never released when that igx-grid has a paginator #15302
Labels
🐛 bug
Any issue that describes a bug
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
The igx-grid has a memory leaking problem. It happens when users move columns.
Steps to reproduce
npm ci
,npm run build
, andnpx serve .\dist\c-00235192-ng-app4-grid-mem-leak\browser\
commands.http://localhost:30000
in a web browser.Result
You will see that "SampleDataType" objects bound to the igx-grid component remain in comparison between the first snapshot and the third one. (Please see also the video I attached below.)
2025-01-27_16h38_31.mp4
Expected result
No "SampleDataType" objects should exist in that "Comparison" view because the garbage collector should have cleaned up those objects.
Note
If the grid didn't even have a paginator, the 'SampleDataType' objects would be garbage collected as expected, so I consider the behavior reported above to be a problem and a kind of memory leak. (Please see also the video I attached below.)
2025-01-27_16h35_58.mp4
Attachments
The text was updated successfully, but these errors were encountered: