Extremely high memory usage
See original GitHub issueSteps to reproduce
Run pwsh.exe
Expected behavior
The shell should open quickly and use very little memory.
Actual behavior
The shell opens, doesn't get to the prompt very quickly, then once running each pwsh.exe process uses rougly 250Mb of RAM (!!!)
For daily use this is not acceptable when compared to my typical shell workflow.
Environment data
Loading personal and system profiles took 2136ms.
PS C:\projects> $PSVersionTable
Name Value
---- -----
PSVersion 6.2.1
PSEdition Core
GitCommitId 6.2.1
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:22
Top Results From Across the Web
Fix High RAM Memory Usage Issue on Windows 11/10 ...
High Memory Usage is a state where Windows computers' RAM, ROM, or Cache usage grows to an extremely high level. Windows 10 high...
Read more >Windows 10 High Memory Usage [Causes and Solutions]
How to Fix Windows 10 High Memory Usage · Close unnecessary programs. · Disable startup programs. · Disable Superfetch service. · Increase virtual ......
Read more >High memory usage. How to fix them
1) See fixes for high RAM usage: · 2) Optimize Virtual Memory: · 3) Type Resource in Search box, open Resource Monitor as...
Read more >How to Fix High Memory Usage in Windows
How to Fix High Memory Usage in Windows · 1. Close Unnecessary Programs and Applications · 2. Remove Unwanted Programs from Your PC...
Read more >Top 12 Fixes: High RAM/Memory Usage on Windows 11/10
1. Close Excessive Programs 2. Reduce the Number of Startup Programs 3. Check to See if Superfetch Is Disabled 4. Select Best Performance...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d reckon high memory usage for a shell that’s sitting idle to be a very specific and trackable issue. I’d love to see this situation improve.
As cool as it may be, it’s not worth the price of entry as a daily use shell. If you’re honestly cool with your idle terminals consuming over a Gb of RAM then more Power to you.
If it uses Web cmdlets from PowerShell Core it is known issue and we have a tracking issue(s) for them (web cmdlets consume a lot of memory)