File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills 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
Author

Javascript Memory Problem

karthic selvam
Greenhorn

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
Author
Rancher

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61755
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript Memory Problem