mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
ca72d8d030
Previously we were forcing node's max-old-space-size to be 2GB. This override was added in a01b1dd6 to avoid issues caused by a lower default node heap_size_limit on machines with less memory. This commit makes that `max-old-space-size` override more specific so that it only applies to machines with less memory. Other machines will go use Node's defaults. The override is also lowered to 1GB. This is still high enough for the build to complete, while reducing memory usage. https://meta.discourse.org/t/245547