开发者

Keeping track of javascript memory usage

A web application I am currently working on appears to be leaking memory: with each refresh of a page IE's memory usage goes up and it never releases that memory. Since certain pages are ment to be kept open in a browser and auto-refresh this is quickly turning into a problem.

The application is very javascript-heavy and relies on a combination of old 'plain' javascript code and new JQuery code. I'm looking for tools that would allow me to keep track of the javascript 开发者_JAVA百科objects and memory allocated but I'm coming up short. Any suggestions?


In some of the newer versions of Chrome you can get a heap snapshot with the built in developer tools.

When working with IE you can use DynaTrace Ajax to get a bunch of diagnostics information.

Sorry for the short answer, but I'm not going to copy pasta what others have written better than me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜