![Out of Memory Error When Running Script Against Large Directory in PowerShell - Programming & Development - Spiceworks Community Out of Memory Error When Running Script Against Large Directory in PowerShell - Programming & Development - Spiceworks Community](https://global.discourse-cdn.com/spiceworks/original/4X/b/0/3/b03c177b00ebac82f12d100ed2e5128692a1868c.png)
Out of Memory Error When Running Script Against Large Directory in PowerShell - Programming & Development - Spiceworks Community
![Simple PowerShell Script displays Total and Available Memory . | Chinny Chukwudozie, Cloud Solutions. Simple PowerShell Script displays Total and Available Memory . | Chinny Chukwudozie, Cloud Solutions.](https://chinnychukwudozie.files.wordpress.com/2015/11/freememory.jpg?w=640)
Simple PowerShell Script displays Total and Available Memory . | Chinny Chukwudozie, Cloud Solutions.
![powershell - Out of memory exception on [System.IO.File]::ReadAllText with large CSV - Stack Overflow powershell - Out of memory exception on [System.IO.File]::ReadAllText with large CSV - Stack Overflow](https://i.stack.imgur.com/h1HzD.png)
powershell - Out of memory exception on [System.IO.File]::ReadAllText with large CSV - Stack Overflow
![powershell - I am unable to resolve "Exception of type 'System.OutOfMemoryException' this error - Stack Overflow powershell - I am unable to resolve "Exception of type 'System.OutOfMemoryException' this error - Stack Overflow](https://i.stack.imgur.com/dz8Ge.png)