-
-
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
Memory usage when generating large site #1763
Comments
Generate stub files with leesei/hexo-genstubs. With
UPDATE: This is enough to generate OOM on my Arch Linux with 8G RAM.
$ hexo generate
<--- Last few GCs --->
7958 ms: Scavenge 1408.7 (1457.0) -> 1408.7 (1457.0) MB, 17.1 / 0 ms (+ 33.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
8984 ms: Mark-sweep 1408.7 (1457.0) -> 1405.9 (1454.0) MB, 1026.3 / 0 ms (+ 967.1 ms in 2405 steps since start of marking, biggest step 33.0 ms) [last resort gc].
10009 ms: Mark-sweep 1405.9 (1454.0) -> 1405.8 (1457.0) MB, 1024.3 / 0 ms [last resort gc].
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory |
Thanks for the test. 💯 👍 |
My site have over 8000 pages, and encounter this problem too, where launch hexo with server command, then hexo out of memory, but if launched with generate command, it give me this problem:
|
@xieguigang Refer to #1771 (comment) to help you debug "Template render error". |
Closing due to #3756 |
#1735
#1529
I'll try to recreate the environment first.
The text was updated successfully, but these errors were encountered: