Tuesday, March 24th, 2009

A New Memory Tool for the Web

Category: Utility

Over at the Mozilla Developer Tools Lab, we’re starting work on a new tool to help web developers understand what’s going on with the memory management of their application:

So how does a developer troubleshoot memory problems? There’s only one way good way to do it: use the operating system’s tools. Unfortunately, this option doesn’t provide the right level of detail; you can either see how much memory the browser is consuming in aggregate (which is fine to let you know that your memory use is increasing, but doesn’t tell you why) or you can see which data structures in the browser itself are consuming the memory (which is fine if you understand the guts of the browser, but it’s pretty hard for anyone else to understand how this maps into the web application they’ve developed).

What’s missing is a tool targeted at web developers that makes it easy to understand what’s happening with their application’s memory usage. We propose to create such a tool.

Check out the full entry over at my blog for more on the motivations inspiring us to tackling this problem and for details on the first phase of this approach. Let us know what you think!

Posted by Ben Galbraith at 11:07 am
2 Comments

++++-
4 rating from 30 votes

2 Comments »

Comments feed TrackBack URI

Actually Spybot Search and Destroy has some pretty good tools for checking out memory usage as well, although it’s not necessarily that great for web developers. In that regard I must complement Chrome, which has a great task master monitor tool, Chrome still has some issues, but it does have some interesting points.

Comment by InfiniteRand — March 24, 2009

IMHO, great idea, and they should check http://www.eclipse.org/mat/. The algorithms used by the Eclipse Memory Analyzer should also be applicable to javascript. Check http://kohlerm.blogspot.com/search/label/memory for the fundamental features.

Comment by kohlerm — March 25, 2009

Leave a comment

You must be logged in to post a comment.