Skip to content

UI grid memory leak issue  #6049

@BhagyashriJ

Description

@BhagyashriJ

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions