Kendo UI for Angular Grid memory error?

I have an Angular 4.1.3 app where in one of the components I have 2 Kendo UI Angular 2 grids. Everything works fine, but every time I leave the page and then return, the memory usage increases by about 100MB. If I do this multiple times, the memory usage increases to the point that the user starts to see lag. I only have one Observable in this component which I unsubscribe in ngOnDestroy.

Grids get about 1000 records from 6-7 columns of text data, nothing too big. The reason I suspect grids are causing the memory to grow is that if I remove them from the page, the memory won't increase.

Has anyone experienced something similar? What would be the best way to clean up the memory used by this component on exit?

Thank.

+3


source to share





All Articles