![]() Maybe the slowness you experience is the PowerShell trying to read a big history file (which is not yet big enough to cause OutOfMemory). I tried deleting history file in ~\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ which was over 6 GB by then and after that PowerShell console started opening pretty quickly. A few steps are required to create a Windows PowerShell script that runs at startup as a Windows PowerShell scheduled job: Open the Windows PowerShell c. This led me to the existing Github issue: ![]() System.OutOfMemoryException: Array dimensions exceeded supported range.Īt `1.set_Capacity(Int32 value)Īt `1.EnsureCapacity(Int32 min)Īt `1.Add(T item)Īt System.IO.File.InternalReadAllLines(String path, Encoding encoding)Īt _67_0()Īt (Int32 timeout, Action action)Īt ()Īt (Runspace runspace, EngineIntrinsics engineIntrinsics)Īt (Runspace runspace, EngineIntrinsics engineIntrinsics) ![]() ![]() I had been experiencing the same issue for quite some time until PowerShell started failing on startup with the following error: Exception: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |