We are using the SFTP FileServer component to allow users to download large files from our servers. These files can commonly be more than 2GB, up to 6GB and even more. The largest is 12GB. We are seeing problems with customers being able to download these files.
As the file is downloading, we see memory usage on the w3wp worker process increase and increase to the point that the process crashes, which crashes the FileServer and stops the download.
If there are two users downloading files at the same time, the memory usage increases even faster, and the crash happens faster.
What's the appropriate way to serve these large files to users?