We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting with this example:
http://l-lin.github.io/angular-datatables/archives/#!/rerender If rerender a lot of times this example and no memory leaks
** But in my version I use reloadData like this: **
$scope.dtOptionsMyTable = DTOptionsBuilder.newOptions() .withOption('ajax', function(){........}) .withOption('createdRow', function (row, data, dataIndex) { $compile(angular.element(row).contents())($scope); })
And I do not know why we have an incresing use of leak memory. Garbage colector do not remove all.
How can I remove all these elements in memory?
I try this in every reload:
instanceTable.DataTable.clear();
Even we try to compile in another child object intead of this
$compile(angular.element(row).contents())($scope); I try this in every reload
var newCreatedChildScope= $scope.$new(false); $compile(angular.element(row).contents())(newCreatedChildScope);
and then in every reload destroy the childscope this way
newCreatedChildScope.$destroy(); newCreatedChildScope=null; Still a lot of memory leaks.
Are there a way using a instance.DataTable reference destroy a lot more about the table before reload data? I think this could be the solution
The text was updated successfully, but these errors were encountered:
Nice investigation. Please keep it in a single thread: #1118.
Sorry, something went wrong.
No branches or pull requests
Starting with this example:
http://l-lin.github.io/angular-datatables/archives/#!/rerender
If rerender a lot of times this example and no memory leaks
** But in my version I use reloadData like this: **
And I do not know why we have an incresing use of leak memory. Garbage colector do not remove all.
How can I remove all these elements in memory?
I try this in every reload:
instanceTable.DataTable.clear();
Even we try to compile in another child object intead of this
$compile(angular.element(row).contents())($scope);
I try this in every reload
var newCreatedChildScope= $scope.$new(false); $compile(angular.element(row).contents())(newCreatedChildScope);
and then in every reload destroy the childscope this way
Are there a way using a instance.DataTable reference destroy a lot more about the table before reload data? I think this could be the solution
The text was updated successfully, but these errors were encountered: