This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginning Object Oriented javascript' question- Handle Memory leaks in javascript

 
pinky suresh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was reading all the questions related to 'Beginning Object Oriented javascript' book and the following question stike my mind.

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?
[ August 25, 2008: Message edited by: pinky suresh ]
 
Vijitha Kumara
Bartender
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
having huge dynamically created javascript arrays make the web applications run very slower. I have experienced this in some applications.And creating lot of objects (text feilds etc...) in the page dynamically also cause the web applications run slower (may be browser's capability of handling more objects).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic