That's probably due to factors beyond stock VSCode. Disabling extensions may reveal the culprit. They are just arbitrary JS so they can have all kinds of issues. For example, I recently tried out the biome extension but uninstalled it because I saw it was leaking gigabytes of memory.
[–] evantbyrne 2 days ago