You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.IO.IOException: Not enough storage is available to process this command : 'PSReadLineHistoryFile_-1378073468'
at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneTimeInitialize()
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
It also prints this after every command
And autocomplete and history don't work
The text was updated successfully, but these errors were encountered:
Had the same issue.
Seems that C:\Users%USERNAME%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt is about 7GB is size. Deleted it and things went back to normal.
This also helps to keep dupes out:
'Set-PSReadlineOption -HistoryNoDuplicates:$true' | Add-Content $PROFILE
This issue is closed because it has been marked as requiring author feedback but has not had any activity for 14 days. If you think the issue is still relevant, please reopen and provide your feedback.
Environment data
PS version: 6.2.0-preview.3
PSReadline version: 2.0.0-beta3
os: Linux localhost 3.10.72+ #1 SMP PREEMPT Thu Jun 8 22:09:59 CST 2017 aarch64 GNU/Linux
PS file version:
Steps to reproduce or exception report
Start PowerShell.
After it starts, it prints:
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Last 0 Keys:
Exception:
It also prints this after every command
And autocomplete and history don't work
The text was updated successfully, but these errors were encountered: