There will be memory problem only if you keep adding new elements into
ever growing arrays. But if you reuse the same variables for the new
pages or images, once the old ones are not needed, Javascript garbage
collector will reclaim the unused memory (objects whose reference
count goes to zero).  One potential trap is that event listeners
attached to an object increment object's reference count, hence you
need to remove them before reusing the variable.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to