I need to download a large file (2 GB) over HTTP in a C# console application. Problem is, after about 1.2 GB, the application runs out of memory.
Here
If you use WebClient.DownloadFile you could save it directly into a file.