angular-ui/ui-grid

headerCanvas, headerViewPort Memory Leak

Open

#3.889 geöffnet am 29. Juni 2015

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wantedseverity: memory leakseverity: performancetype: bug

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I am running into a huge memory leak problem, where memory usage increase by 50m+ every time I switch between tabs in a single page application.

Grids are dynamically generated depending on the configuration of tab objects pulled asynchronously from a restful service. Each tab can contain up to four grids.

I followed the "three snapshot" technique and narrowed the problem down to thousands of RED nodes under headerCanvas and headerViewPort objects under containerCtrl.

memory_leak

ENV

AngularJS v1.3.16
UI-Grid 3.0.0-rc.21
Memory leak confirmed on IE11, Firefox, and Chrome

I have tried upgrading to RC 22 and upgraded Angular to 1.3.16. The problem still persist.

Contributor Guide