Ng serve is not working

I am currently working on an Angular 7+ project with nearly 70 components. Now I’m unable run the project using ng serve . If used I am getting

0: ExitFrame [pc: 2C75209E]
Security context: 0x18212705 <JSObject>
    1: update [3FF6AD95] [internal/crypto/hash.js:~52] [pc=07E2BC9A](this=0x0b6fc309 <Hash map = 118D0FF9>,data=0x0b6fc2cd <Very long string[32634509]>,encoding=0x29f0438d <undefined>)
    2: update [10F4C341] [D:\sfcs_web\client-app\node_modules\@angular-devkit\build-angular\node_modules\webpack\lib\util\createHash.js:35] [bytecode=58650271 offset=85](this=0x0b6fc389...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 00328A2E node::MakeCallback+3982
 2: 0095BDE2 v8::internal::Heap::MaxHeapGrowingFactor+8146
 3: 005F804E v8::internal::Factory::NewRawTwoByteString+46

I started using

node --max-old-space-size=10096 ./node_modules/@angular/cli/bin/ng serve --configuration dev

It works fine for the first 2 times then again I got the same. Any permanent fix for this?