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

The "vue-ts" command causes the server CPU100% #982

Closed
chengzixian opened this issue Feb 25, 2022 · 4 comments
Closed

The "vue-ts" command causes the server CPU100% #982

chengzixian opened this issue Feb 25, 2022 · 4 comments
Labels
question Further information is requested

Comments

@chengzixian
Copy link

At present, I use Jenkins to compile and deploy the project on the server, but every time I execute the "vue-tsc --noEmit --skipLibCheck" command, it will lead to CPU overload and server downtime. I want to ask if there is any way to limit the CPU used by this command. I can accept the slow compilation, but I can't accept the downtime;
cpu-info
cpu-info
ram-info
ram-info
ordinary
ordinary
Compiling
Compiling

@chengzixian
Copy link
Author

WX20220225-131934

@johnsoncodehk
Copy link
Member

Can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter?

If it can't, could you provide repro case? Otherwise I can't survey it.

@chengzixian
Copy link
Author

a-1
@johnsoncodehk
Cloning the project will still have the same situation. I want to ask, is a single CPU core and 1G memory not enough for compilation?

@johnsoncodehk
Copy link
Member

If your project is larger 1GB memory may not enough, you could track #1108.

@johnsoncodehk johnsoncodehk added question Further information is requested and removed need info labels Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants