Home > Web Front-end > JS Tutorial > Plug-in: Detect memory leaks in javascript_javascript tips

Plug-in: Detect memory leaks in javascript_javascript tips

WBOY
Release: 2016-05-16 19:18:15
Original
1166 people have browsed it

Reprinted from: http://www.ajaxjs.com/yuicn/bbs/ShowPost.asp?ThreadID=6

Javascript memory leak is not too scary. It will only quietly and slowly slow down your browser to an extremely slow speed, causing you to get angry and yell at Microsoft for its broken browser that harms society. All this may not be the browser's fault, it may just be a memory leak in some javascript on the web page.

In today's increasingly advanced technology, it is necessary for us to arm ourselves and our own browsers, so that if the browser fails, we can still know whose web page it was on. The following Firefox plug-in is recommended for those UI designers or developers:

Leak Monitor

This extension pops up an alert dialog to warn chrome and extension developers about one particular type of leak. It warns when chrome windows close but leave other code pointing at their JavaScript objects.

Works with:
firefoxFirefox 1.5 - 3.0 ALL
thunderbirdThunderbird 1.5 - 3.0 ALL

When you visit a web page, if there is a javascript memory leak, this extension will pop up a list of memory leaks for you. Take the current wordpress backend as an example. Leak Monitor also unceremoniously popped up a window, mainly because it uses the famous prototype.js...

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template