Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to analyze memory usage from NodeJS program, in Visual Studio Code

I tried searching both stackoverflow and vs code github repo.

Is it possible to analyze the memory consumption of a node.js program, being debugged in VS code?

like image 689
DauleDK Avatar asked Aug 04 '26 01:08

DauleDK


1 Answers

VS Code does not have a builtin memory profiling story currently (as of 1.16). You should be able to use any standard node.js profiling technique to monitor memory though. For example:

  • process.memoryUsage()
  • memwatch-next
  • Chrome devtools
like image 157
Matt Bierner Avatar answered Aug 05 '26 18:08

Matt Bierner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!