Wednesday, July 10, 2013

Re: Garbage collection in javascript (GWT)

Take a read: 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management


GWT also has two articles about memory leaks:

https://code.google.com/p/google-web-toolkit/wiki/UnderstandingMemoryLeaks
http://www.gwtproject.org/articles/dom_events_memory_leaks_and_you.html


In short: If you remove a widget from your UI and your code does not hold any reference to this widget anymore, it will be GC'd. 

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment