How can I debug memory leak for loopback application on Heroku?
We have a rather nasty memory leak in our loopback app (node.js), but this doesn't seem to be happening locally, only on Heroku.
It constantly increases memory usage without any queries, and I ran 10,000 queries locally without seeing a similar pattern.
I currently have no good ideas on how to debug this further.
+3
source to share
2 answers
I believe there is a blog post from Strongloop dealing with memory leak profiling here . It rebuilds the heap heap setup and how to use the chrome dev tools to collect client side heap snapshots using the JavaScript console built into the browser. Heap analysis can be performed in the same console.
+1
source to share