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..

enter image description here

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

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -