Pulumi process is taking too much memory and cpu

node process is taking 11GB and cpu shooting to 99.5% on mac book with 16gb memory.

I have stopped the sst dev process, but still memory and cpu are high for node process. I verified no other process is running.

The parent process is pulumi-language-nodejs