Reduce RAM usage during builds. How should I proceed?
Unanswered
Western harvester ant posted this in #help-forum
Western harvester antOP
Context:
I used to build the site in a VM with 3.5 GB available, but it now eats 5 GB.
I'm still using the pages router, and plan to progressively migrate to app router.
I have some pretty big pages, it is like a configuration module, but has approx. 28 sub-modules, handled with a Tabs component that handles what component must render.
Question:
Should I split the modules in multiple smaller pages or apply the
Is there anything else I should keep in mind to reduce the RAM usage?
Thanks beforehand to anyone who answers.
I used to build the site in a VM with 3.5 GB available, but it now eats 5 GB.
I'm still using the pages router, and plan to progressively migrate to app router.
I have some pretty big pages, it is like a configuration module, but has approx. 28 sub-modules, handled with a Tabs component that handles what component must render.
Question:
Should I split the modules in multiple smaller pages or apply the
next/dynamic treatment to every sub-module in order to reduce the RAM usage during builds?Is there anything else I should keep in mind to reduce the RAM usage?
Thanks beforehand to anyone who answers.