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 can't render complete content of a long page, if my essay is too long, it will only display partly or even do not display. #5080

Closed
seed42x opened this issue Oct 6, 2022 · 5 comments
Labels
need-information Further information is requested

Comments

@seed42x
Copy link

seed42x commented Oct 6, 2022

  • I'm sure google can't solve my problem.
  • I search existing issues and can't find any same or approximate problem and solution.

Environment:

  • The latest node.js
  • The latest hexo frame
  • There are not any other plugins of hexo and nodejs
  • Windows10 OS

Describe the bug:

After I wrote a essay with about 374 lines and want to post it to my blog based on hexo, I found that hexo can't show this essay entirely, it only display the essay partly.
In order to prove this is a bug, I build another markdown file which includes about 8627 lines and put it into hexo, this time, hexo even do not show this essay, and I can find this essay nowhere.

To Reproduce:

In order to reproduce this bug, you can perform the following steps:

  • use latest nodejs and latest hexo to initialize a hexo blog.
  • new a markdown file which has 374 lines or more lines and put it into ./your_blog/sources/_posts/ easily.
  • execute the commands in order: hexo clean, hexo g, hexo s, and then open your blog and check the content integrity.
    • your essay maybe incomplete;
    • if your markdown file has too many lines (>= 8627), you will even can't find this essay in your blog.
@lorezyra
Copy link

I can’t reproduce this. I have some blog articles with over 500 lines. Also have over 1400 articles and 7400 assets. Rendering without issue on my site.
This sounds like poor hardware specs and/or poor config.

@D-Sketon
Copy link
Member

can't reproduce too..

@stevenjoezhang stevenjoezhang added the need-information Further information is requested label Nov 21, 2022
@seed42x
Copy link
Author

seed42x commented Jun 17, 2023

This problem is solved, I just reinstall the hexo framework and related theme, but I also don't know what happened, maybe the version is too old.

@seed42x seed42x closed this as completed Jun 17, 2023
@stevenjoezhang
Copy link
Member

This issue may be related to #2601

@lorezyra
Copy link

I've had some really long posts - over 40K characters and 700+ lines. Occasionally, it fails to render it properly. After I fixed the memory leaks in my theme and expanded Node's heap buffer, the problem was resolved. This was using Hexo 6.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-information Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants