Closed ztsing closed 1 year ago
@ztsing can you share your settings.json file?
@Tyriar
@ztsing can you share your settings.json file?
I open multiple vscode windows and some of them in remote-ssh mode.
The local settings.json:
{
"workbench.colorTheme": "Atom One Dark",
"workbench.colorCustomizations": {
"[Atom One Dark]": {
"tab.activeBorder": "#06d3eebb",
"tab.activeBorderTop": "#06d3eebb",
"editor.findMatchHighlightBorder": "#eeff0086",
"editor.selectionHighlightBorder": "#f772d57e"
}
},
"extensions.ignoreRecommendations": false,
"C_Cpp.updateChannel": "Insiders",
"go.gocodePackageLookupMode": "go",
"go.buildOnSave": "package",
"go.formatTool": "goimports",
"todo-tree.highlights.enabled": true,
"svn.enableProposedApi": "none",
"git.ignoreLegacyWarning": true,
"dart.flutterSdkPath": "D:\\Flutter\\flutter",
"todo-tree.tree.showScanModeButton": false,
"prettier.tabWidth": 4,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"svg.preview.mode": "img",
"editor.acceptSuggestionOnCommitCharacter": false,
"go.toolsManagement.autoUpdate": true,
"editor.minimap.enabled": false,
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"material-icon-theme.folders.color": "#26a69a",
"remote.SSH.remotePlatform": {
"DevCloud": "linux",
"PX_82": "linux",
"PX_20": "linux",
"PIDE_20": "linux"
},
"workbench.iconTheme": "material-icon-theme",
"editor.guides.bracketPairs": true,
"terminal.integrated.persistentSessionReviveProcess": "never",
"settingsSync.ignoredExtensions": [
"bmewburn.vscode-intelephense-client",
"felixfbecker.php-intellisense",
"felixfbecker.php-debug",
"ms-vscode.cpptools",
"ms-azuretools.vscode-docker",
"vscode.docker",
"felixfbecker.php-pack",
"cweijan.vscode-mysql-client2",
"imperez.smarty",
"mechatroner.rainbow-csv",
"msrvida.vscode-sanddance",
"cweijan.vscode-office",
"devoszhang.vscode-pixide",
"ms-vscode-remote.remote-containers",
"twxs.cmake",
"ms-vscode.cmake-tools",
"jeff-hykin.better-cpp-syntax",
"ms-vscode.cpptools-themes",
"stuartwang.luapanda"
],
"[sql]": {
"editor.defaultFormatter": "cweijan.vscode-mysql-client2"
},
"hediet.vscode-drawio.theme": "min",
"bracketPairColorizer.depreciation-notice": false,
"workbench.editorAssociations": {
"*.md": "default"
},
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.NoBrowser": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"files.associations": {
"*.bytes": "lua"
},
"git.autofetch": true,
"Lua.telemetry.enable": true,
"pixide.dev.frameworks": {
"rcFile": ".frmwkrc.json",
"providers": [],
"frameworks": {
"myFramework": {
"title": "My Framework",
"name": "myFramework",
"type": "pi",
"entryScriptName": "main.tsx",
"srcRoot": "src",
"distDir": "dist",
"prodDistDir": "html-pro",
"devDistDir": "html-dev",
"assetDir": "static",
"outDirMode": "pi",
"opCfgGlobPattern": "src/configs/*opcfg.json",
"preservedDirs": [
"src",
"faas",
".git"
],
"pkgmgr": "yarn",
"dlAddr": "file:///D:/temp/pixide-framework/myframework-v1.2.0.zip",
"$__metaVersion": "1.0.0"
},
}
},
"vsicons.dontShowNewVersionMessage": true,
"diffEditor.ignoreTrimWhitespace": false,
"sourcegraph.basePath": "/Users/ddd/knowledge/",
"debug.javascript.autoAttachFilter": "disabled",
"vscode-edge-devtools.fallbackRevision": "@a41122be052fe9616f0def5fe6842fa942930d46",
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"git.confirmSync": false,
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
"fish": {
"path": "fish"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
},
"sh": {
"path": "/bin/sh"
}
},
"vscode-office.autoTheme": false
}
The remote settings.json:
{
"go.gopath": "/data/GoProjects/GOPATH",
"go.toolsGopath": "/data/GoProjects/GOPATH/",
"go.goroot": "/data/tools/go/",
"go.autocompleteUnimportedPackages": true,
"go.useLanguageServer": true,
"remote.autoForwardPortsSource": "output",
"terminal.integrated.defaultProfile.linux": "zsh",
"dart.sdkPath": "/data/tools/dart-sdk",
}
interesting
"terminal.integrated.persistentSessionReviveProcess": "never",
interesting
"terminal.integrated.persistentSessionReviveProcess": "never",
It still needs to keep the serializer around for reconnection. It's possible this is an issue in conpty, I've never noticed it go very high on my machines.
interesting
"terminal.integrated.persistentSessionReviveProcess": "never",
It still needs to keep the serializer around for reconnection. It's possible this is an issue in conpty, I've never noticed it go very high on my machines.
I remove this setting item. However, the problem still exists.
We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!
Does this issue occur when all extensions are disabled?: Yes/No
It seems like a memory leak
The memory usage grows from hundreds of MB to more than 4000 MB in one night.