自从用上node.js 我的电脑充满了各种 cpu 100% + , 内存暴涨, 内存泄露...
有感而发~
这个应该是内存泄露, 有兴趣研究的大神可以玩下 package.json
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.2.0"
},
"dependencies": {
"hexo": "^3.2.0",
"hexo-deployer-git": "^0.1.0",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-index": "^0.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.2.0",
"hexo-renderer-marked": "^0.2.10",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.2.0"
}
}
$ hexo -v
hexo: 3.2.0
hexo-cli: 1.0.1
os: Darwin 15.5.0 darwin x64
http_parser: 2.5.2
node: 4.4.4
v8: 4.5.103.35
uv: 1.8.0
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 56.1
modules: 46
openssl: 1.0.2h
去提Issue 怕被拍回来不能重现, 有时间再研究研究…
13 回复
打出的 heapdump 在 chrome devtool 把 devtool 弄的 crash 了… 又去提bug 了 https://bugs.chromium.org/p/chromium/issues/detail?id=615350#c3