没有 v8-profiler 的 Node.js 内存泄漏搜索 [英] Node.js memory leak hunting without v8-profiler

查看:23
本文介绍了没有 v8-profiler 的 Node.js 内存泄漏搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试追踪 Node.js 应用程序中的内存泄漏.我试过安装 v8-profiler 但它不会编译...它看起来像一个 死项目 很多人都在尝试使用但遇到同样的问题 - 几乎来自节点 0.3.2,所以很早以前.

I'm trying to track down a memory leak in a Node.js app. 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 就可以在 Node.js 应用程序中查找内存泄漏的方法吗?我让 Eclipse 运行 V8 远程调试工作,但找不到查看内存使用情况/堆等的方法.

Does anyone know of a way to hunt down memory leaks in a Node.js app without using v8-profiler? I have Eclipse running with the V8 remote debugging working but cannot find a way to see memory usage / heaps etc.

推荐答案

你看过 https://github.com/felixge/node-memory-leak-tutorial?作者在自述文件中包含一个链接,指向最近(4 月 11 日)的 v8-profiler 分支.

Have you looked at 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.

这篇关于没有 v8-profiler 的 Node.js 内存泄漏搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆