Attached is the code to show the memory leak in ie8 for angularjs.
1. performance.html is for angularjs. Keep refreshing by pressing f5 would see a dramatically memory rise.
2. performance2.html is for jquery. Keep refreshing by pressing f5 would not see memory rise. That demonstrate that this is not a bug of the browser ie8. But I googled that ie8 has problem to recycle memory if we have some object refer to each other but no longer used. I guess it is caused by this problem. But I have no idea on how to fix it.
分享到:
相关推荐
memory leak 教程,一步一步解决内存泄漏。
This program is a tool that help you positioning memory leak locations of an QUALCOMM BREW application on simulator. It can give the call stack of memory leaks (including the locations that MALLOC/...
一个在模拟器上定位BREW应用程序内存泄露位置的工具,可以给出内存泄露位置的调用栈信息(包括MALLOC、REALLOC分配的内存,也能定位到调用ISHELL_CreateInstance的位置)
本文中描述了C++中常见的内存泄露,以及对应的解决方法,并且介绍了几种常见的内存泄露检查工具的使用(常见的工具只有vld和codesnitch)
memory leak tools for android memory leak tools for android
Memory leak detection for WinCE
检测内存泄漏的工具源码 三个文件 使用时只要include一个头文件就可以 内含一个example程序
内存泄露(memory leak)资料,网上收集的,感谢原作者
C++ memory leak detection and exception
This program is a tool that help you positioning memory leak locations of an QUALCOMM BREW application on simulator. It can give the call stack of memory leaks (including the locations that MALLOC/...
java
使用__wrap_malloc查找malloc导致内存泄漏问题 memory leak 内存泄漏
有关flex 内存泄漏memory leak介绍的ppt. flash player的内存泄漏实在搞的我头大了
This document is about Memory leak.
A Practical FlowSensitive and ContextSensitive C and C++ Memory Leak Detector
技術分享_Glassfish 3.1.2.2 Web Service Memory Leak Workaround1
寻找内存泄漏,对现有server进行测试和dump 确保不再出现ava.lang.OutOfMemoryError的异常错误
内存泄漏检测器 MemoryLeakDetector是由Xigua视频android团队开发的本地内存泄漏监视工具。 它具有访问简单,监视范围广,性能...leak-detector:0.0.7 '} 步骤3:添加代码以方便使用(使用广播控件不需要此步骤) //
Converting a bitmap to a region - memory leak fix将位图转化为一个区域 - 修补了内存漏洞(179KB)