Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Java Scrict faq Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Java Scrict faq" Watch "Java Scrict faq" New topic

Java Scrict faq

Vimal Bharathi Andiappan

Joined: Jun 12, 2008
Posts: 7
Since javascript or any language supports design patterns, I guess there will be some mechanism to avoid memory leaks also.what to we have to avoid memory leaks in javascript?

If i am using javascript in my code and my application becomes slow, what could be the reasons/places that i can check in my js code?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

Please fix the typos in your subject. Thanks.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Stoyan Stefanov
Ranch Hand

Joined: Jul 16, 2008
Posts: 61
if you're on windows, check the free processexplorer thingie, it's like task manager but shows you a single process in isolation, this should give you an idea if memory leaks are your problem. It's worth reading up on memory leaks in IE.

<a href="" target="_blank" rel="nofollow">my OOJS book</a>
subject: Java Scrict faq
Similar Threads
Cleaning up memory used by javascript objects
Beginning Object Oriented javascript' question- Handle Memory leaks in javascript
Does Java have buffer overflows and memory leaks?
Use of Java
memory leaks