简体   繁体   English

Internet Explorer 中的 Javascript memory 泄漏

[英]Javascript memory leak in Internet Explorer

I developed a website that is using jquery ajax.我开发了一个使用 jquery ajax 的网站。 Every minute an ajax request send to get json data.每分钟发送一个 ajax 请求以获取 json 数据。 This json data is then parsed and inserted into the DOM.然后解析此 json 数据并将其插入 DOM。

In Chrome and Firefox this works just fine, but in Internet Explorer I have a huge memory leak (after an hour or so the IE process takes up to a few hundred MB's).在 Chrome 和 Firefox 中,这工作得很好,但在 Internet Explorer 中,我有一个巨大的 memory 泄漏(大约一个小时后,IE 进程占用了几百 MB)。

How do I start debugging this?我该如何开始调试呢? How can I see which functions/variables use all this memory?如何查看哪些函数/变量使用了所有这些 memory?

This is solved.这解决了。 It was caused by an outdated jquery version.它是由过时的 jquery 版本引起的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM