作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
有什么方法可以在 javascript 或 jquery 中找到内存泄漏。
这些天我一直在研究 javascript。我从中间层转到了 UI。所以我想知道是否可以找到它们。
提前致谢。
最佳答案
Javascript 中的内存泄漏模式
http://www.ibm.com/developerworks/web/library/wa-memleak/
Plugging memory leaks in JavaScript is easy enough when you know what causes them. In this article authors Kiran Sundar and Abhijeet Bhattacharya walk you through the basics of circular references in JavaScript and explain why they can cause problems in certain browsers, especially when combined with closures. After seeing some of the common memory leak patterns you should watch out for, you'll learn a variety of easy ways to work around them.
关于javascript - 如何在javascript中查找内存泄漏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4066113/
我是一名优秀的程序员,十分优秀!