v6.5.1-rc.0
Pre-releasePatch Release
-
fix(cli): avoid calling rw-vite-build via yarn #9624 by @jtoar
This PR starts optimizing Redwood's memory usage during build. Redwood has always had memory problems on certain deploy providers. But many users have reported that v6 seems to be more problematic than usual. To address this, we started profiling CLI commands, looking at the amount of memory used and the number of processes spawned, starting with
yarn rw build. We found that usingyarninternally to call a binary seemed to increas memory by ~100 MB compared to usingnode. The number of processes spawned also dropped by two with this change. While this is far from conclusive, we'd like to get this change in an RC to see if it makes a noticeable difference for users.(If you're interested in profiling the amount of memory used by CLI commands, now's a great time to contribute!)