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

Fix vuepress compilation memory problem修复vuepress编译内存问题 #2448

Open
1 task
SailVR opened this issue Jun 16, 2020 · 3 comments
Open
1 task

Comments

@SailVR
Copy link

SailVR commented Jun 16, 2020

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

What is expected?

What is actually happening?

编译vuepress时,JavaScript显示内存不够,是不是vuepress多线程编译所以占用内存太多,我用0.x版本的vuepress编译就没有任何问题,希望官方可以修复下
When compiling vuepress, JavaScript shows that there is not enough memory. Is it due to vuepress multi-threaded compilation, so it takes up too much memory. I have no problem with the 0.x version of vuepress compilation. I hope the official can fix it.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
@kefranabg
Copy link
Collaborator

How many pages are you trying to build? Do you have a reproduction repo?

@jixuan1989
Copy link

Hi @kefranabg , we have 174 files totally, and it can be reproduced.

The codes are at https://github.com/apache/incubator-iotdb/tree/master/site
and the markdowns are at https://github.com/apache/incubator-iotdb/tree/master/docs

@th0r
Copy link

th0r commented Nov 25, 2022

You can try --max-concurrency option - it helped me reduce memory usage during a build from ~8G to ~3.5G.

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

No branches or pull requests

4 participants