aether is a memory leak management tool for visualizing and tracking memory usage in real-time.
After installing the
aether_memory npm package to your server, you can observe memory usage and notice if you have a memory leak in your application, by just looking at the graph report. Once you've identified a leak, you can look at the two bubble charts to see self and retained size of nodes.
node-heapdump to take snapshots of the heap with 5 seconds intervals. The V8 Engine triggers garbage collection before each snapshot. The physical file is created in 'snapshot' folder and parsed through. Afterwards, the data is analyzed, displayed, and the file gets deleted before the next snapshot is taken, minimizing its own memory footprint and avoiding false results.
npm install aether_memory
"aether": "node node_modules/aether_memory/server/server.js & <START YOUR SERVER>",
FOR EXAMPLE: "aether": "node node_modules/aether_memory/server/server.js & node server/server.js",
const aether = require('aether_memory'); aether.start();
npm run aether
We are always looking to improve. For major changes, please open an issue first to discuss what you would like to change, pull requests are welcome.
Currently on our to-do list:
This project is licensed under the MIT