I recently ran into a classic case of "our code is using way more memory than it should". So I took my first dive into memory profiling Rust code. I read several posts about this, including the following
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When to reinstall? | |
# - When VS Code cannot connect to remote server via the SSH extension | |
# - New extensions cannot be installed on remote server | |
# 1. Connect to remote server (without using VS Code, of course). | |
# 2. Remove the ~/.vscode-server directory | |
cd ~ | |
rm -rf .vscode-server/ |