ng2-ion-range-slider icon indicating copy to clipboard operation
ng2-ion-range-slider copied to clipboard

memory-leak

Open san4ezz87 opened this issue 6 years ago • 3 comments

Hello I have an issue, when i added this plugin in my angular2 component I saw that some process is runing and garbage collector is working all time. I saw that Zone run checking but I try init plaging wihtout component and run it within this.zone.runOutsideAngular() method. I have not change detaction occur but garbage collector work permanently. Do everyone collide with this issue?

san4ezz87 avatar Mar 12 '18 13:03 san4ezz87

Found something strange in my application when I used the slider, Chrome reported performance issues and was constantly spitting out "[Violation] 'setInterval' handler took <N>ms" in the logs. Within few min it generated more than 20K of these warnings. Not sure if these are related but found the slider component drastically affecting the performance. I am using Angular 5 btw.

Is there a work around to this as I had to disable the component for now?

gamefundas avatar Apr 03 '18 17:04 gamefundas

It is obvious that there are some performance issues , there is a lag between a click event on the slider and when the slider changes its value.

rubenCodeforges avatar May 02 '18 14:05 rubenCodeforges

Ok ive checked the original lib , looks like the performance issue is coming from it.

rubenCodeforges avatar May 02 '18 14:05 rubenCodeforges