File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Javascript Memory Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript Memory Problem" Watch "Javascript Memory Problem" New topic

Javascript Memory Problem

karthic selvam

Joined: Jun 24, 2008
Posts: 1
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.
David Newton

Joined: Sep 29, 2008
Posts: 12617

There are a lot of IE memory leak issues; I'd suggest searching the web to try and identify all the potential "gotchas".
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Adding script tags in IE and not clearing the content after using causes memory issues.

Discussion here on it:

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

"karthic ps", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Javascript Memory Problem
It's not a secret anymore!