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
{{ message }}
Repository navigation
System.IO.IOException: Not enough storage is available to process this command : 'PSReadLineHistoryFile_ #833
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
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
Activity
agirko commentedon Dec 27, 2018
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
CtrlShiftEscape commentedon Dec 30, 2018
Mine is empty
SteveL-MSFT commentedon Jun 18, 2019
CtrlShiftEscape you do have free diskspace where it's trying to write that file as well as permissions to that location to write?