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:
use 'profiles' tab in chrome developer window(press f12 fire up)
firebug profiler in firefox
Comments
Post a Comment