JQuery or javascript to find memory usage of page

Posted by Tauren on Stack Overflow See other posts from Stack Overflow or by Tauren
Published on 2010-03-27T17:31:10Z Indexed on 2010/03/27 17:33 UTC
Read the original article Hit count: 339

Is there a way to find out how much memory is being used by a web page, or by my jquery application?

Here's my situation:

I'm building a data heavy webapp using a jquery frontend and a restful backend that serves data in JSON. The page is loaded once, and then everything happens via ajax.

The UI provides users with a way to create multiple tabs within the UI, and each tab can contain lots and lots of data. I'm considering limiting the number of tabs they can create, but was thinking it would be nice to only limit them once memory usage has gone above a certain threshold.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery