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

Handle memory better #40

Open
sandersky opened this issue Apr 1, 2019 · 0 comments
Open

Handle memory better #40

sandersky opened this issue Apr 1, 2019 · 0 comments

Comments

@sandersky
Copy link
Member

In some CircleCI builds the build VM has a lot of CPU's but running a worker on every CPU can cause the VM to run out of memory, due to Babel doing a lot of processing (one Babel instance per worker process). See if we can evaluate heap usage and not process files on every worker when heap usage is high. This way we can spawn all of the workers but can auto-adjust our processing in real-time to avoid running out of memory.

@sandersky sandersky changed the title Handle RAM better Handle memory better Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant