使用 Node.js 服务器调试内存泄漏 [英] Debugging memory leaks with Node.js server

查看:20
本文介绍了使用 Node.js 服务器调试内存泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个内存泄漏,导致我们的 Node 服务器耗尽进程内存.有哪些建议/工具可以帮助我们进行调试?

We have a memory leak that is causing our Node server to run out of process memory. What are some suggestions / tools that would help us debug this?

推荐答案

你在运行最新最好的 node.js v0.3.8 吗?

Are you running the latest and greatest node.js v0.3.8?

但我相信您可以使用 https://github.com/dannycoates/node 检测泄漏-检查员.

But I believe you might be able to detect leaks with https://github.com/dannycoates/node-inspector.

这篇关于使用 Node.js 服务器调试内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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