Javascript / JQuery memory useage within browser -


my google-fu has let me down bit on this. can answer question me?

to extent jquery / javascript functions stored in memory?

  • once browser has parsed page goes memory? of it? if functions repeatedly called memory?
  • if portion of memory allocated scripts filled (thinking ie6 on horrible pc here), happens? (other slow browser..)
  • is there way of seeing how memory used variable or function whole?

i'm curious, i've never had problems slow scripts per se, sat there thinking afternoon , realised didn't know this!

h

as per knowledge, once javascript code has been parsed browser, objects remain in memory unless dereferenced , garbage collected. garbage collection dependent on js implementation of browser though.

you can see memory usage js objects in chrome. see here


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -