内存泄漏

中本聪SN-2737

在 0 和 2 个连接之间来回跳,恐怕是它在连接自己。你用了 "-connect" 开关吗?

Bouncing between 0 and 2 connections could be if it's connecting to itself. Are you using the "-connect" switch?

是你自己编译的还是发布版?什么版本?

Did you compile it or is this a release build, and what version?

我不确定 200Kb/sec 怎么来的,因连接尝试之间至少等半秒。连接数在 0 和 2 之间切换得有多快?比每秒两次还快?

I'm not sure how the 200Kb/sec, since it waits at least a half second between connection attempts. How fast is it flickering between 0 and 2 connections? Faster than twice a second?

linux 上的等待函数是:

The wait function on linux is:

inline void Sleep(int64 n)

inline void Sleep(int64 n)

{

{

boost::thread::sleep(boost::get_system_time() + boost::posix_time::milliseconds(n));

boost::thread::sleep(boost::get_system_time() + boost::posix_time::milliseconds(n));

}

}

如果这个等待函数没有正常工作,程序就可能以最快速度空转这个循环。

If that doesn't work right, then it would be possible for it to spin through the loop as fast as it can.

译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

查看历史审校与代表修订 →

译文内容版本:05064dd159a3。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

Memory leak

Bitcointalk · 原始链接 ↗ 记录编号 SN-2737

阅读字号

选择适合你的字号,之后阅读会继续使用。