marmelab / ng-admin

Add an AngularJS admin GUI to any RESTful API
http://ng-admin-book.marmelab.com/
MIT License
3.95k stars 728 forks source link

memory leak when $state.reload #1383

Closed zjqzero closed 5 years ago

zjqzero commented 6 years ago

I used $state.reload() to auto-refresh the page for monitoring, finally the browse(firefox 58) use about 12GB memory and crashed.
the code as follows:

        $interval(function () {
            $state.reload();
        }, 3000)