问题描述
我正在开发一个ajax聊天应用程序,完成了大部分工作但是当我在IE上测试它时(在IE6和IE7上),发现存在内存泄漏。该应用程序在FF上运行良好。我该如何解决这个问题?
我用以下方式使用了ajax(这与我在聊天应用程序中使用ajax的方式类似);第34行的incrementer.php文件只是打印会话中增加的值
I am working on an ajax chat application, done most of the work but when i tested it on IE (both on IE6 and IE7), found that there is a memory leak. The application works fine on FF. How can i fix this?
I have used ajax in the following way (this is a similar to how i am using ajax in my chat application); incrementer.php file on line # 34 simply prints an incremented value from the session
推荐答案
感谢您的回复。将间隔设置为1毫秒我可以看到内存使用的快速增加。
我无法在代码中跟踪循环引用。如果有,请指出&以及如何解决这个问题
Thanks for your reply. Setting the interval to 1 millisecond i can see quick increase in the use of memory.
I am unable to trace circular reference in my code. If there is any, please point to that & and how can i resolve this
这篇关于IE内存泄漏,如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!