Skip to content
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 generate use a lot memory and hangs. #274

Closed
bigscorpions opened this issue Jun 12, 2016 · 12 comments
Closed

Hexo generate use a lot memory and hangs. #274

bigscorpions opened this issue Jun 12, 2016 · 12 comments

Comments

@bigscorpions
Copy link

Configuration

  • Operating system with version : OSX EI Capitan 10.11.5
  • Node version : 4.4.5
  • Hexo version : 3.2.0
  • Hexo-cli version : 1.0.1
  • Tranquilpeak version : latest source code

Actual behaviour

When I use hexo generate, it just stop there and hexo process used a lot memory. It is fine when I use the default theme and it is very fast.

Expected behavior

Steps to reproduce the behavior

@LouisBarranqueiro
Copy link
Owner

Hey @bigscorpions , do you have any errors? About the speed, it's normal that the default theme is faster because it is very simple. Tranquilpeak is more complex and have more features.

@bigscorpions
Copy link
Author

if I use 'ctrl c' to stop it, Sometimes it is fine, sometimes it will output the error like allocation and out of memory. I am outside so I can not paste the error message. It is not just slow, it will run out of my memory, I mean like 3G more or less.

@bigscorpions
Copy link
Author

I track the output with hexo generate --debug , and it stops outputting when it process highlight.js modules.

@LouisBarranqueiro
Copy link
Owner

I need the whole stacktrace to help you man. copy it :)

@bigscorpions
Copy link
Author

hexo generate --debug
00:55:26.182 DEBUG Hexo version: 3.2.0
00:55:26.185 DEBUG Working directory: ~/Woody-Data/blog-hexo-tranquilpeak/
00:55:26.282 DEBUG Config loaded: ~/Woody-Data/blog-hexo-tranquilpeak/_config.yml
00:55:26.298 DEBUG Plugin loaded: hexo-generator-archive
00:55:26.299 DEBUG Plugin loaded: hexo-generator-category
00:55:26.301 DEBUG Plugin loaded: hexo-generator-index
00:55:26.302 DEBUG Plugin loaded: hexo-generator-tag
00:55:26.304 DEBUG Plugin loaded: hexo-renderer-ejs
00:55:26.305 DEBUG Plugin loaded: hexo-renderer-stylus
00:55:26.310 DEBUG Plugin loaded: hexo-renderer-marked
00:55:26.368 DEBUG Plugin loaded: hexo-server
00:55:26.369 DEBUG Script loaded: themes/tranquilpeak/scripts/filters/excerpt.js
00:55:26.369 DEBUG Script loaded: themes/tranquilpeak/scripts/helpers/absolute_url.js
00:55:26.369 DEBUG Script loaded: themes/tranquilpeak/scripts/helpers/resolve_asset_url.js
00:55:26.369 DEBUG Script loaded: themes/tranquilpeak/scripts/helpers/is_remote_url.js
00:55:26.453 DEBUG Script loaded: themes/tranquilpeak/scripts/migrators/1.4.0.js
00:55:26.454 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/fancybox.js
00:55:26.454 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/alert.js
00:55:26.454 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/highlight_text.js
00:55:26.455 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/image.js
00:55:27.035 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/tabbed_codeblock.js
00:55:27.036 DEBUG Script loaded: themes/tranquilpeak/scripts/tags/wide_image.js
00:55:27.118 DEBUG Loading database.
00:55:27.127 INFO  Start processing
00:55:27.402 DEBUG Theme config loaded.
00:55:27.402 DEBUG Processed: _config.yml
00:55:28.527 DEBUG Processed: source/assets/fonts/fontawesome-webfont.eot
00:55:28.528 DEBUG Processed: source/assets/fonts/fontawesome-webfont.woff2
00:55:28.528 DEBUG Processed: source/assets/css/jquery.fancybox-thumbs.css
00:55:28.529 DEBUG Processed: source/assets/css/font-awesome.css
00:55:28.529 DEBUG Processed: source/assets/css/jquery.fancybox.css
00:55:28.530 DEBUG Processed: source/assets/images/fancybox_loading.gif
00:55:28.530 DEBUG Processed: source/assets/images/fancybox_loading@2x.gif
00:55:28.530 DEBUG Processed: source/assets/images/fancybox_sprite.png
00:55:28.531 DEBUG Processed: source/assets/images/fancybox_overlay.png
00:55:28.531 DEBUG Processed: source/assets/images/fancybox_sprite@2x.png
00:55:28.531 DEBUG Processed: source/assets/js/jquery.fancybox.js
00:55:28.531 DEBUG Processed: source/assets/js/jquery.fancybox-thumbs.js
00:55:28.532 DEBUG Processed: source/assets/images/blank.gif
00:55:28.532 DEBUG Processed: source/assets/js/tranquilpeak.js
00:55:29.206 DEBUG Processed: layout/all-archives.ejs
00:55:29.206 DEBUG Processed: layout/all-categories.ejs
00:55:29.206 DEBUG Processed: layout/all-tags.ejs
00:55:29.206 DEBUG Processed: layout/archive.ejs
00:55:29.206 DEBUG Processed: layout/index.ejs
00:55:29.206 DEBUG Processed: layout/category.ejs
00:55:29.207 DEBUG Processed: layout/layout.ejs
00:55:29.207 DEBUG Processed: layout/page.ejs
00:55:29.213 DEBUG Processed: layout/post.ejs
00:55:29.213 DEBUG Processed: layout/tag.ejs
00:55:29.227 DEBUG Processed: _posts/test.md
00:55:29.227 DEBUG Processed: _posts/hello-world.md
00:55:29.229 DEBUG Processed: languages/en.yml
00:55:29.229 DEBUG Processed: languages/fr-FR.yml
00:55:29.229 DEBUG Processed: languages/pt-br.yml
00:55:29.229 DEBUG Processed: languages/ru.yml
00:55:29.230 DEBUG Processed: languages/zh-cn.yml
00:55:29.230 DEBUG Processed: languages/zh-tw.yml
00:55:29.233 DEBUG Processed: source/assets/fonts/FontAwesome.otf
00:55:29.234 DEBUG Processed: source/assets/fonts/fontawesome-webfont.ttf
00:55:29.234 DEBUG Processed: source/assets/fonts/fontawesome-webfont.woff
00:55:29.234 DEBUG Processed: source/assets/css/tranquilpeak.css
00:55:31.305 DEBUG Processed: layout/_partial/archive-post.ejs
00:55:31.307 DEBUG Processed: layout/_partial/archive.ejs
00:55:31.307 DEBUG Processed: layout/_partial/baidu-analytics.ejs
00:55:31.307 DEBUG Processed: layout/_partial/cover.ejs
00:55:31.307 DEBUG Processed: layout/_partial/head.ejs
00:55:31.307 DEBUG Processed: layout/_partial/footer.ejs
00:55:31.307 DEBUG Processed: layout/_partial/google-analytics.ejs
00:55:31.307 DEBUG Processed: layout/_partial/header.ejs
00:55:31.307 DEBUG Processed: layout/_partial/index.ejs
00:55:31.307 DEBUG Processed: layout/_partial/script.ejs
00:55:31.307 DEBUG Processed: layout/_partial/post.ejs
00:55:31.307 DEBUG Processed: layout/_partial/pagination.ejs
00:55:31.307 DEBUG Processed: layout/_partial/sidebar.ejs
00:55:31.308 DEBUG Processed: layout/_partial/about.ejs
00:55:31.350 DEBUG Processed: source/assets/js/jquery.js
00:55:32.751 DEBUG Processed: layout/_partial/post/actions.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/disqus.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/duoshuo.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/category.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/meta.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/header-cover.ejs
00:55:32.752 DEBUG Processed: layout/_partial/post/header.ejs
00:55:32.753 DEBUG Processed: layout/_partial/post/share-options.ejs
00:55:32.753 DEBUG Processed: layout/_partial/post/tag.ejs
00:55:32.753 DEBUG Processed: layout/_partial/post/gallery.ejs
00:55:32.759 DEBUG Processed: source/assets/fonts/fontawesome-webfont.svg
00:55:33.466 DEBUG Processed: source/assets/images/cover-v1.2.0.jpg
00:55:33.466 DEBUG Processed: source/assets/images/cover.jpg
00:55:40.256 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/accesslog.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/1c.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/actionscript.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ada.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/arduino.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/armasm.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/asciidoc.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/aspectj.js
00:55:40.257 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/apache.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/applescript.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/autohotkey.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/bash.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/axapta.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/autoit.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/basic.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/brainfuck.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/cal.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/bnf.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ceylon.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/clojure-repl.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/capnproto.js
00:55:40.258 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/clojure.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/cmake.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/coffeescript.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/cos.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/avrasm.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/crmsh.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/crystal.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/cpp.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/cs.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/csp.js
00:55:40.259 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/d.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/delphi.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/diff.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dart.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/django.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dns.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dockerfile.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dts.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dos.js
00:55:40.260 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/dust.js
00:55:40.261 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/elixir.js
00:55:40.261 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/elm.js
00:55:40.261 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/erb.js
00:55:40.261 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/erlang-repl.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/erlang.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/fix.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/fsharp.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/fortran.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/gcode.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/gams.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/gauss.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/gherkin.js
00:55:40.279 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/glsl.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/css.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/golo.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/go.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/gradle.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/groovy.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/haskell.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/haml.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/handlebars.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/hsp.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/htmlbars.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/http.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/haxe.js
00:55:40.280 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/inform7.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ini.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/java.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/irpf90.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/javascript.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/json.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/julia.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/kotlin.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/lasso.js
00:55:40.281 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/less.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/lisp.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/livescript.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/livecodeserver.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/lua.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/makefile.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/markdown.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/matlab.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/maxima.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mel.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mercury.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mipsasm.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mizar.js
00:55:40.282 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/monkey.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mojolicious.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/nginx.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/nimrod.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/moonscript.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/objectivec.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ocaml.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/openscad.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/nsis.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/pf.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/nix.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/perl.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/parser3.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/php.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/processing.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/powershell.js
00:55:40.283 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/profile.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/prolog.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/protobuf.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/purebasic.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/puppet.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/python.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/r.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/q.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/qml.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/roboconf.js
00:55:40.284 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/rib.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/rsl.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ruby.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/rust.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/scala.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/ruleslanguage.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/scheme.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/smalltalk.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/scss.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/scilab.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/sml.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/smali.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/oxygene.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/sql.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/stan.js
00:55:40.285 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/step21.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/sqf.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/stylus.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/tex.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/swift.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/taggerscript.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/tcl.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/stata.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/twig.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/typescript.js
00:55:40.286 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/thrift.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vala.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vbnet.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vbscript.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vbscript-html.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/verilog.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vhdl.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/vim.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/xml.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/xl.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/x86asm.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/zephir.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/xquery.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/yaml.js
00:55:40.287 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/tp.js
00:55:41.435 DEBUG Processed: node_modules/hexo-util/node_modules/highlight.js/lib/languages/mathematica.js
^C02:21:22.712 INFO  Bye!
02:22:39.841 DEBUG Database saved

@bigscorpions
Copy link
Author

It takes more than a hour there so I stop it. No error message.

@bigscorpions
Copy link
Author

Before I set this:

node --max_old_space_size=8192

hexo generate will give the 'out of memory' error message. It is as the same as this issue. So I did as it said and set the node max_old_space_size. Now hexo generate will give no error, but it will stop when proccessing the highlight.js. It also uses a lot memory like 3G or 4G.

@LouisBarranqueiro
Copy link
Owner

That strange because hexo should not proceed files in node_modules folder. Try to create a new blog with hexo init blog, install the theme and try again

About the memory issue, I had a similar problem with node v4, try to upgrade to the v5.

@bigscorpions
Copy link
Author

Yes, after upgrading the node to v5.0, the out of memory issue is gone. Thanks.

@LouisBarranqueiro
Copy link
Owner

cool. Is it working properly now?

@LouisBarranqueiro
Copy link
Owner

Can we close it @bigscorpions ?

@bigscorpions
Copy link
Author

bigscorpions commented Aug 25, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants