Massive RAM consumption on Mac M1, when running PowerShell script with Azure cmdlets. #21266
Replies: 3 comments 1 reply
-
Hi @BorysMariusz we recommend submitting an issue to PowerShell/PowerShell repo. Also it would be great if you can share the script. |
Beta Was this translation helpful? Give feedback.
-
Thank you @isra-fel for feedback. I have tested today one more thing. I have ran the script not in vscode but in standalone PowerShell core terminal which is being installed in the MacOS system. The RAM consumption was a aprox. 400 MB. It seems PWSH host, consume GBs of memory only when used in VScode Integrated Terminal. How can we address this ? |
Beta Was this translation helpful? Give feedback.
-
I think I have the solution. I have enabled option on vscode powershell.analyzeOpenDocumentsOnly. |
Beta Was this translation helpful? Give feedback.
-
Hello
I am working on the latest version of macos and vscode and powershell core. When I am using local script to operat on Azure Cloud resources pwsh consume big amount of RAM.
Beta Was this translation helpful? Give feedback.
All reactions