angular-ui/ui-grid

UI grid memory leak issue

Open

#6,049 建立於 2017年3月2日

在 GitHub 查看
 (3 留言) (3 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wantedseverity: memory leak

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I am using UI grid v4.0.2, where its mentioned memory leak issue is fixed. I have total 174MB data bind to grid. If I do page refresh then only first time its loading data. but When I am trying to call api to get data and bind to grid second time its crashing. Second time it should release memory but its not releasing , I can see previous memory references.

  • Tried to reload state before calling api next time(as on page refresh its working first time)

  • Tried cleaning all grid objects on $destroy and reset method before calling second time.

    delete $scope.gridApi; delete gridApi; delete $scope.gridData;

But its crashing second time.

貢獻者指南