Hacker News new | ask | show | jobs
by stephengillie 3666 days ago
This has frustrated me to no end. I've given into using WriteAllLines as a work-around.

[IO.File]::WriteAllLines($filename, $content)

(from https://stackoverflow.com/questions/5596982/using-powershell...)

1 comments

I get OOM with larger files even when they should fit in memory.

Powershell is like a poor Java/C# interpreter instead of a quick and dirty shell.