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

查看:211
本文介绍了没有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天全站免登陆