Does anyone know of memory usage and possible memory leaks with javascript setTimeoutand functions setInterval?
setTimeout
setInterval
Thank.
IE7 can (and probably is) have leaks. chrome is less likely, but always possible. js are complicated. You can also create unknown amounts of timeouts and intervals that some memory can eat.
clearTimeout() , , . , .
, , .
Source: https://habr.com/ru/post/1757012/More articles:Like a “typedef” matrix in C - cполучение Принципала во время Grails Spring Аутентификация безопасности - spring-securityit's a bad convention to call sys.argv from somewhere besides the main function in python - pythonhow to compile java with external libraries in notepad ++? - javaEntity Framework 4.0 - Get by ID using generics and reflections - reflectionRails - Can I run migration methods in a general rake program? - ruby-on-railsHow to change default WCF page returned in browser? - wcfSwing: steal focus from other applications (usability in OS X) - javaHow can I change the html output of a wcf service with my own content? - htmldate appears the day before what is programmed in JasperServer - javaAll Articles