I am retired and building a simple dashboard for my local garden club using Node.js, but my app keeps running out of memory and crashing. What are the best memory profiling tools I should use to track down this leak?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
I am retired and building a simple dashboard for my local garden club using Node.js, but my app keeps running out of memory and crashing. What are the best memory profiling tools I should use to track down this leak?
1 real search · 1 real-search pass
Node.js official documentation heap profiler --heap-prof heap snapshots inspector memory troubleshooting Clinic.js heapprofiler PM2 monitoringGoogle ↗
OBSERVEDOther / navigational
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (1)
Classes come from the query-classifier (a local Laya model). 1 of 1 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT1 real searches · gpt-6
Node.js official documentation heap profiler --heap-prof heap snapshots inspector memory troubleshooting Clinic.js heapprofiler PM2 monitoring Google ↗
- Chrome DevTools Memory documentation · developer.chrome.com
- Node.js command-line options · nodejs.org
- Clinic.js official website · clinicjs.org
- VS Code Node.js debugging · code.visualstudio.com
- PM2 documentation · pm2.keymetrics.io
- learn/pages/diagnostics/memory/using-heap-snapshot.md at main · nodejs/learn · github.com
- Record heap snapshots | Chrome DevTools | Chrome for Developers · developer.chrome.com
- Troubleshooting Node.js Memory Use · devcenter.heroku.com
- Profiling | Guides · pm2.io