I have a large project and migrating Cloudflare, Trying to deploy to Cloudflare pages but while building the application I get this error.
Failed: build exceeded memory limit and was terminated
Also I get this message when I build the application locally with npx @cloudflare/next-on-pages@latest.
is there any way that I can increase the memory in while building in pages? or any other suggestions?