Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Javascript Memory Problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi every one,
I am having problem with Internet Explorer memory. I am using pushlet to push a script into a jsp page and that script will change innerHTML of a table cell. so the table cell's text will keep on changing every 1/2 second. Whenever the table cell's text changes memory of Internet Explorer is also increased by 4kb.

My problem is if the memory keeps on increasing, then at some time script in the page is not responding and in some the Internet Explorer got hanged.

How can i clear the memory.


If any one have idea please shed some light.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a lot of IE memory leak issues; I'd suggest searching the web to try and identify all the potential "gotchas".
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adding script tags in IE and not clearing the content after using causes memory issues.

Discussion here on it: http://ajaxian.com/archives/dynamic-script-generation-and-memory-leaks

Eric
 
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"karthic ps", please check your private messages for an important administrative matter.
reply
    Bookmark Topic Watch Topic
  • New Topic