A data visualizer tool for NLeak.
src
folder contains all src code fornleak-viewer
- Heap Snapshot Lib
- React Components
- React Model
- ...
public
folder contains required html files for formatting- Frontend structure format logic
- ...
git clone https://github.com/nleak/nleak-viewer.git
npm i
npm run start
For local testing, simply run npm run start
.
NLeak viewer is a tool built in reactjs that allows you to visualize the heap snapshot growth of your application. To use it, simply go to https://nleak-viewer.vercel.app/ and upload your nleak_result.json file.
Once you've uploaded the file, NLeak viewer will generate a chart showing the growth of your heap snapshots over time. You'll also see a summary of the last heap snapshot's size, as well as the leak location with source map.
By using NLeak with the viewer, you can easily identify potential memory leaks in your application and take steps to fix them.