# JS-Memory-Analysor **Repository Path**: alibaba/JS-Memory-Analysor ## Basic Information - **Project Name**: JS-Memory-Analysor - **Description**: JS Memory Analysor is a tool to detect memory leaks for Javascript/NodeJS. - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-31 - **Last Updated**: 2025-12-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JS Memory Analysor ## Overview Memory leak is an important problem in JavaScript/NodeJS, though they have Garbage collection mechanism. Now there are some tools are provided to detect memory leak for JavaScript/NodeJS, such as Chrome Devtools, Webstorm and so on. These tools solve our problems in some extent. However, there are also some problems left, such as not smart enough to recommend suspected objects. Compared to above, JS Memory Analysor provides more convenient functionality to help us find memory leak objects more quickly. To retained the habits of JS developers and reduce the learning cost, JS Memory Analysor is developed base on Chrome Devtools. ## Table of Contents - [Quick start](#quick-start) - [Features](#features) - [Todo list](#todo-list) - [License](#license) ## Quick Start It is easy to use JS Memory Analysor. Just with the steps as follows: * `git clone [current repo] [project path]` * `cd [project path]` * `npm install && npm run start` * `open the Chrome with http://localhost:9999` After open the browser, you should load multiple local files(.heapsnapshot) simultaneously. These heap snapshots are dumped duration the operation of the application.
( PS: Please use chrome to open above link. )
## Features Compared to native Chrome Devtools,there are several advantages as follows: 1) Intelligent summary. It will generate summary according to multi-snapshots' memory trends and changes of objects just as shown in the following picture.


