Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript memory profiler

I'm looking for a good JavaScript Memory profiler, specifically one that targets IE. And any suggestions on how to go about finding javascript memory leaks would also be appreicated.

like image 214
Chuck Conway Avatar asked Nov 02 '09 21:11

Chuck Conway


People also ask

What is memory profiling in JavaScript?

This view is particularly helpful for tracking down DOM leaks. Comparison view helps you track down memory leaks, by displaying which objects have been correctly cleaned up by the garbage collector. Generally used to record and compare two (or more) memory snapshots of before and after an operation.

Can you leak memory using JavaScript?

Memory management is often neglected by developers due to misconceptions of automatic memory allocation by JavaScript engines, leading to memory leaks and, ultimately, poor performance. In this article, we'll explore memory management, types of memory leaks, and hunting memory leaks in JavaScript using Chrome DevTools.

What is a memory profiler?

The Memory Profiler is a component in the Android Profiler that helps you identify memory leaks and memory churn that can lead to stutter, freezes, and even app crashes. It shows a realtime graph of your app's memory use and lets you capture a heap dump, force garbage collections, and track memory allocations.

Does JavaScript have automatic memory management?

Low-level languages like C, have manual memory management primitives such as malloc() and free() . In contrast, JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection).


1 Answers

You're looking for sIEve ... that's about it. For a while the cardinal answer was Drip, but sIEve is the next iteration by the same guy.

like image 102
Anthony Mills Avatar answered Oct 23 '22 14:10

Anthony Mills