May 2021 release of Visual Studio Code (VSCODE) is updated all the time. It is not however supported by Dell and support is not free. Version 1.57 is now available! new features and fixes from May. Freezing sounds like overheating or some other issue but RAM would be the choice I would make.  
I've replaced a motherboard and a CPU but still I've been suffered by a high frequency freeze problem. Especially a freeze occurs as I use vscode. In sometime, just opened the vscode caused a freeze. So the memory and the ssd are two of the remnants components which is(are) cause(s) a freeze. Due to the economic problem, I can only replace one of memory and ssd. Which should I replace(or attach a memory )?
SSD or memory, which should I replace to resolve a freeze problem?