Build Failed: build exceeded memory limit and was terminated. (Preview and Prod))

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

|14:08:46.399|Success: Finished cloning repository files|
|14:18:58.679|Failed: build exceeded memory limit and was terminated|

Deployment id: 9aff3dcd-9f38-4002-93db-5020409e5a8b
node: 18.17

Would appreciate any help.

@jhands1 @jfawcett could you please help me in this issue ???

Could anyone please help me in this issue ??? It’s quite urgent to resolve this issue