facebookarchive / prepack

A JavaScript bundle optimizer.
http://prepack.io
Other
14.22k stars 425 forks source link

Increase memory to 32gb for test-internal-react and test-internal #2524

Closed trueadm closed 6 years ago

trueadm commented 6 years ago

Release notes: test-internal-react and test-internal now use --max_old_space_size=32768

As per the title, this increases the max memory allocation for Node to 32gb. --max_old_space_size=32768.

NTillmann commented 6 years ago

This won't fly on my laptop. Rather time for a round of memory profiling and reduction?

trueadm commented 6 years ago

@NTillmann Why not? It should work fine, even if you have less than 32gb of RAM – did for me on my MacBook which only has 16gb.

trueadm commented 6 years ago

Agreed, this is a temporary fix.