简体   繁体   English

没有v8-profiler的Node.js内存泄漏

[英]Node.js memory leak hunting without v8-profiler

I'm trying to track down a memory leak in a Node.js app. 我正在尝试跟踪Node.js应用程序中的内存泄漏。 I've tried installing v8-profiler but it will not compile... it looks like a dead project that a lot of people are trying to use but getting the same problem - pretty-much from about node 0.3.2 so quite a while ago. 我已经尝试安装v8-profiler但它不会编译......它看起来像一个很多人正在尝试使用的死项目但却遇到了同样的问题 - 非常多来自节点0.3.2这么长一段时间前。

Does anyone know of a way to hunt down memory leaks in a Node.js app without using v8-profiler? 有没有人知道如何在不使用v8-profiler的情况下搜寻Node.js应用程序中的内存泄漏? I have Eclipse running with the V8 remote debugging working but cannot find a way to see memory usage / heaps etc. 我让Eclipse运行V8远程调试工作,但无法找到方法来查看内存使用/堆等。

Have you looked at https://github.com/felixge/node-memory-leak-tutorial ? 你看过https://github.com/felixge/node-memory-leak-tutorial吗? The author includes a link in the Readme to a more recent (Apr 11) fork of v8-profiler. 作者在自述文件中包含一个链接,该链接指向更新的(4月11日)v8-profiler分支。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM