Closed jsakamotoIGJP closed 3 weeks ago
There has been no recent activity and this issue has been marked inactive.
Hi @ChronosSF, thank you for reopening this ticket!
There has been no recent activity and this issue has been marked inactive.
@dkamburov @ChronosSF Looking into this it seems like there are some detached nodes that get left on the page, such as the igx-grid node itself:
However that seems to be the case for any component where you have done any type of interaction (for example clicked on a button) and then destroy it.
I’ve modified the sample a bit here: c-00235192-ng-app1-v17.1.4.2-modified.zip
I’ve added to the sample another page that loads a very simple component (app-component-test) with some text and a button, the button does nothing and the text is static. Still if you do the following: 1) Do a baseline mem. profile 2) Navigate to the new page (Go to test page 5) 3) Click on the button 4) Navigate back to home 5) Do another mem.profile and compare them.
You’ll notice that the component’s DOM (app-component-test) remains in memory:
You can also find the content of the component as detached nodes.
That seems to be similar to an issue logged in angular: https://github.com/angular/angular/issues/56477 That has then been closed as an upstream issue in Chrome: https://issues.chromium.org/issues/40056157 https://issues.chromium.org/issues/41466808
I don't think there's anything we can do on our side for this.
Thank you for investigating this so thoroughly, @MayaKirova . I am closing this as a third-party-issue.
Description
The
igx-grid
has a memory leaking problem. It happens when users click the paginator buttons.Steps to reproduce
igx-grid
component with a pagenator.https://github.com/IgniteUI/igniteui-angular/assets/102948935/1ea9cfc5-d00a-4d87-bc03-0d73f58d888b
Result
You will see there are some objects with the name "igx" that were added but not deleted in the "Comparison" view of the Memory tab.
Expected result
The "Delta" column for all objects with the name "igx" should be zero in the "Comparison" view of the Memory tab.
Attachments
📦c-00235192-ng-app1-v17.1.4 (2).zip