angularjs - Angular.js memory issue with add & removing nodes, graph attached, ng-repeat -
i'm adding , removing html elements make , infinity scroll.. angular doesnt seem garbage collecting straight away.. please have @ graph.
it climbs , climbs , drops while scrolling..
and here sample of code:
$scope.items = , array of lots of items. $scope.itemsview.push($scope.item[i]); $scope.itemsview.splice(theindex,1);
any ideas?
it's not angular garbage collecting, it's responsible removing html elements dom. can't see graph whether angular doing job or not.
did try forcing gc pressing garbage bin icon @ bottom of chrome dev tools? chrome gc when deems necessary , not instantly since it's costly operation.
Comments
Post a Comment