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

Remove --max-old-space-size=4096 from npm build command #4381

Merged
merged 3 commits into from
Dec 5, 2019

Conversation

arikfr
Copy link
Member

@arikfr arikfr commented Nov 21, 2019

What type of PR is this? (check all applicable)

  • Other

Description

Looks like it's no longer needed.

Related: #4195.

Looks like it's no longer needed.
@arikfr arikfr requested a review from kravets-levko November 21, 2019 10:22
@kravets-levko
Copy link
Collaborator

Seems it does not work: build failed with out of memory error in node

@arikfr
Copy link
Member Author

arikfr commented Nov 21, 2019

Seems it does not work: build failed with out of memory error in node

Strange it worked locally after the unused dependencies removal. Will verify again.

Copy link
Collaborator

@kravets-levko kravets-levko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Map visualization test is flaky, but I'll look into it a bit later. Except of this - looks fine 👍

@arikfr
Copy link
Member Author

arikfr commented Nov 21, 2019

Looks like it's also Node version dependent. I wonder if changing this now will break existing environments for people? :-\

I did stumble at Volta recently, which makes it easy to run the correct Node version per project so maybe it's not a huge deal.

@kravets-levko @gabrieldutra @rauchy what Node version you have locally?

@rauchy
Copy link
Contributor

rauchy commented Nov 21, 2019

Locally I'm on v11.9, but I don't do local nowadays :) so it's v8.10

@arikfr
Copy link
Member Author

arikfr commented Nov 21, 2019

@rauchy

Locally I'm on v11.9, but I don't do local nowadays :) so it's v8.10

v8.10 😱 Just use Volta. Takes a minute and you have whatever version you want.

@kravets-levko
Copy link
Collaborator

what Node version you have locally?

v10.13.0

@gabrieldutra
Copy link
Member

what Node version you have locally?

v12.13.0, I updated a few days ago 🙂

@rauchy
Copy link
Contributor

rauchy commented Nov 21, 2019

Just use Volta. Takes a minute and you have whatever version you want.

It really did!

@arikfr
Copy link
Member Author

arikfr commented Dec 5, 2019

I added another npm run command build:old-node-version, which has the old max memory setting for those who use an older Node version.

@arikfr arikfr merged commit 7c05a73 into master Dec 5, 2019
@arikfr arikfr deleted the remove-max-old-space-size branch December 5, 2019 20:42
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

Successfully merging this pull request may close these issues.

4 participants