简体   繁体   中英

Memory Issue on IE browser

I have one jsp page which contains some Ajax calls. In that Ajax call, I am loading one third party js object. Now when I am keep on using Ajax call, IE continuously increasing it's memory. But when I click on any other link which reload full page or refresh page, IE release all memory usage. It means that Third party js object taking memory on IE only(Working fine on FireFox).

How can I delete that object from browser once it's not in use? I have try

delete obj;

which not work for me because I don't know the structure of third party js object. Is there any way to execute only browser refresh functionality without refreshing browser? Or any other suggestion to resolved this issue?

Thanks in advance. Navnath

Try setting obj = null , that may mark it for cleanup.

The other obvious thing to try is delete window.obj which should get rid of the whole thing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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