Deployment failed build exceeded memory limit and was terminated

I have a large project, but now the deployment failed: build exceeded memory limit and was terminated. I try to configure NODE_OPTIONS
–max-old-space-size=8192 but the deployment still failed. Can someone tell me the solution?

Deployment id:133eb7f3-4d8f-4879-86de-5b6c08c87730
cb7c38a2-2f86-454d-ab95-729f0789b90e
d2c6a5d3-edb1-4adb-8382-1fd419447ec4

node:16.18.1

same issue, have you found a fix?

I tried the same by increasing --max-old-space-size=8192 but deployment continued to have the same error as stated.

|12:57:27.952|Success: Finished cloning repository files
|13:07:17.545|Failed: build exceeded memory limit and was terminated

Deployment id: 0c778b6f-5b1e-4b19-861f-940e33739ada
node: 16.17

Would appreciate any help. TIA

Last this time occurred, the solution was to opt us out of the infrastructure change. Build Failed: build exceeded memory limit and was terminated - #14 by colin.hoernig

Could the Cloudflare team investigate this option again?

Thank you!
Michael