javascript - Will the infinite loop scrolling of limarquee.js cause memory leaks?
phpcn_u1582
phpcn_u1582 2017-05-19 10:28:55
0
1
535


Demo address http://www.dowebok.com/demo/188/
I tracked it for more than 1 minute and found that the memory usage rose sharply, which means Memory leaked?
I also want to ask, is there any infinite loop scrolling that does not leak memory?

phpcn_u1582
phpcn_u1582

reply all(1)
某草草

Infinite scrolling means starting a timer, whether using CSS3 animation or js timeout or interval.
When the time interval is very short (operation execution time > timer period), the queue program will not be executed in time, and the process queue will be full after a period of time, so the memory usage will increase.
To prevent the queue from being full is to make the time period of the timer longer or to make... the code execution time

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template