简体   繁体   中英

Out of memory issue in Internet Explorer

One of my web Applications which uses auto-refresh after every 5 mins when run in Internet explorer gives OUT OF MEMORY At LINE XXXX error and then it has to be restarted.

My application makes a Ajax call every 5 minutes to get new Data and replace existing contents with new one. iam clearing all refrences to existing data so that it becomes garbage collection elgible and doesnt lead to memory leaks but still i get this error.

Any help would be good.....

If you get OutOfMemory on server side you have memory growth. I am sorry. :( I'd suggest you to use one of popular Java profilers to locate the source of you problem. Alternative way is try to simplify the application as much you can. Good luck. I am sure that you can find the problem using profiler very quickly.

也许您可以查看是否会发生这种情况http://javascript.crockford.com/memory/leak.html

IE have limitation to number of element able to use + request timeout. If you use AJAX call to replace content, it should not make your memory up.

my suggest is that you run HttpWatch - http://www.httpwatch.com/

then trace down how many call you make, if it only one and page size never increase, you may have to optimize your code (use local variable instead of global etc).

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