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?