Memory leak until the system freezes
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 30/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- csharp, powershell, vscode
- Domínio
- developer-experience, tooling
Direção de pesquisa
Comece reproduzindo o vazamento, habilitando a extensão PowerShell no VS Code e revisando os logs anexados; o issue também contém links para o guia de solução de problemas e para um issue relacionado do VS Code. Rastreie o crescimento de memória da extensão a partir dos pontos de entrada disponíveis do PowerShell Editor Services e, em seguida, verifique se a memória não continua crescendo até o sistema congelar quando a extensão permanece habilitada.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Prerequisites
- I have written a descriptive issue title.
- I have searched all open and closed issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with PowerShell Editor Services itself and does not reproduce in a standalone PowerShell instance, and is not an issue with my editor.
- I have verified that I am using the latest version of PowerShell Editor Services.
- If this is a security issue, I have read the security issue reporting guidance.
Summary
Every time the extension "PowerShell v2024.3.2 (pre-release)" is enabled, the memory usage goes up until the system freezes. When disabling the extension, there is no issue. Same issue with the release version "Powershell 2024.2.2".
Also reported here.
PowerShell Version
Name Value
---- -----
PSVersion 7.4.4
PSEdition Core
GitCommitId 7.4.4
OS Microsoft Windows 10.0.20348
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Editor Version
vs code 1.92.1
eaa41d57266683296de7d118f574d0c2652e1fc4
x64
Name : ConsoleHost
Version : 7.4.4
InstanceId : b1eb55a6-5f37-4759-bc50-59721354e6d5
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
PowerShell Editor Services Version
The one built-in to "PowerShell v2024.3.2 (pre-release)" and "Powershell 2024.2.2".
Steps to Reproduce
Every time the extension "PowerShell v2024.3.2 (pre-release)" is enabled, the memory usage goes up until the system freezes. When disabling the extension, there is no issue. Same issue with the release version "Powershell 2024.2.2".
Simply enable the extension, open VS Code and wait for the RAM to be fully consumed. No coding required.
Visuals
Logs
1723619554-68a1cfd5-1a3e-43e5-9fc4-7e8fa8a133561723619552104.zip
- Linguagem predominante
- C#
- Estrelas
- 772
- Forks
- 268
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de PowerShell/PowerShellEditorServices
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET.Talvez livre de novo @andyleejordan assumiu há 101 dias e não há nenhum pull request aberto. Aberta
PowerShell/PowerShellEditorServices#2331 · 1 reação · 2 responsáveis ·
-
Area-Language Server Issue-Enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
PowerShell/PowerShellEditorServices#2315 · 1 comentário ·
-
Improve Constrained Runspace Debug ExperienceTalvez já em andamento @JustinGrote assumiu há 124 dias. AbertaArea-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · 1 reação · 2 responsáveis ·
-
Issue-Bug Needs: Triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
PowerShell/PowerShellEditorServices#2293 · 1 comentário ·
-
Document outline drops child variables when a function/filter reuses a variable name declared earlier (scope-blind declaration dedup)Talvez já em andamento @JustinGrote assumiu há 152 dias. Aberta
PowerShell/PowerShellEditorServices#2282 · 1 comentário · 1 reação · 2 responsáveis ·
Todas as issues de PowerShell/PowerShellEditorServices
Issues semelhantes
-
[Doc Gap] Document new --enable-public-network-access breaking change for azurebackup vault createAbertacopilot documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
area-dashboard
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
0 - Backlog Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
BrighterCommand/Brighter#4539 ·
Mantenedores costumam responder em até 1 dia
-
area-networking
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
dotnet/aspnetcore#69671 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
test
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NethermindEth/nethermind#14274 ·
Mantenedores costumam responder em até 1 dia