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

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

问题描述

我们有一个内存泄漏,导致我们的Node服务器用完了进程内存。有什么建议/工具可以帮助我们调试?

解决方案

您是否运行最新最好的node.js v0。 3.8?



但是我相信你可能可以用 https://github.com/dannycoates/node-inspector


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?

解决方案

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

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

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

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