Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

GC: Electric breaks when use the deploy and has a very large files quantity #147

Open
matuzalemsteles opened this issue Apr 11, 2018 · 0 comments

Comments

@matuzalemsteles
Copy link
Member

When trying to give electric deploy to a project with a large amount of files it bursts a GC error. Note that this was reproduced in Clay that uses the API documentation generator (This implies even more, since the process takes a while to render in HTML and the time increases significantly).

screen shot 2018-04-11 at 11 20 08

It seems that the deploy and build tasks run in parallel and ends up bursting the memory usage limit, maybe the ideal would be to wait for the build task to finish so that can move on. We should analyze whether we are cleaning the memory properly or using Stream for reading and writing the files, since it helps to soften the use of memory allocation...

jbalsas added a commit that referenced this issue Apr 18, 2018
Update UglifyJS to 1.2.4 and set the parallel to true | Fixes #147
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant