Detecting memory leaks in nodejs

后端 未结 7 1573
情话喂你
情话喂你 2020-12-23 17:14

Are there some tools for detecting memory leaks in nodejs? And tell me about your experience in testing nodejs applications.

7条回答
  •  一向
    一向 (楼主)
    2020-12-23 17:23

    I could also recommend following sources:

    1. following episodes of NodeUp, where profiling and memory leaks detection tools are discussed:

      • http://nodeup.com/twentyone
      • http://nodeup.com/fortyfive
    2. This article - Tracking Down Memory Leaks in Node.js – A Node.JS Holiday Season, which basically aggregates all widely known modules and techniques to track down memory leaks

    3. For Mac OS - Instruments tool could be helpful to debug native (C++) modules. It is not so sophisticated as SmartOS tools, but very easy to setup.

提交回复
热议问题