javascript - How to detect to much memory being used in browser -


this question has answer here:

i writing client side applications, regularly run issue whereby using memory on lower end device , stops processing javascript compensate this. appears common 'solution' problem on lower end devices.

is there reasonable way detect memory usage and/or limits or when limit has been reached , scripts failing, etc.

if can detect this, can implement solutions handle (like limit caching, more lazy loading, etc.)

please not mark question duplicate question answers how detect memory usage , not estimating memory limitations!

this might you:

http://www.monitis.com/blog/2011/05/15/30-tips-to-improve-javascript-performance/

as page performance:

  1. use 'profiles' tab in chrome developer window(press f12 fire up)

  2. firebug profiler in firefox


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -