Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Solve "Out of memory" during generation by limiting the number of concurrent tasks #3665
What does it do?
Allow users to set the number of files to be generated in parallel.
How to test
mkdir concurrency-test cd concurrency-test hexo init npm install 'ppoffice/hexo#master' git clone https://github.com/SukkaLab/hexo-many-posts.git source/_posts/tests hexo gen hexo clean hexo gen -c 8 hexo clean hexo gen --concurrency 1 hexo clean hexo gen -c 200
But this approach doesn't seem to be of much use. It does add more than a hundred posts, but exceeding that number will crash, and here's my error message