-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hexo g的时候内存溢出.我应该如何监控跟定位这个问题? #3350
Comments
speak english.... |
打开目录 #!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/node_modules/hexo-cli/bin/hexo" "$@"
ret=$?
else
- node "$basedir/node_modules/hexo-cli/bin/hexo" "$@"
+ node --max_old_space_size=4096 "$basedir/node_modules/hexo-cli/bin/hexo" "$@"
ret=$?
fi
exit $ret |
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hexo g的时候内存溢出.我应该如何监控跟定位这个问题?
或者临时解决这个问题.
The text was updated successfully, but these errors were encountered: