仅在Azure VM上下载大于2GB的文件时出错 [英] Error downloading files larger than 2GB only on Azure VMs
问题描述
嗨Microsoft
我在下载大于2GB的文件时遇到问题 - 但仅限于Azure虚拟机。
你可以找到我的代码在这里:https://pastebin.com/RYRRQdSB(注意:链接将在17/1/2019到期)
问题是当我从我的FTP服务器,它工作得很好 - 除了在Azure虚拟机上运行它,它在大约2 GB(特别是在1.970.104.320字节之后)发出错误
例外是: "底层连接已关闭:接收时发生意外错误。"
...虽然我的猜测是问题与内存有关。
程序编译为64位:)
祝你好运
Martin
也许以下是有帮助的
Hi Microsoft
I have a problem downloading files larger than 2GB - but only on Azure Virtual Machines.
You can find my code here: https://pastebin.com/RYRRQdSB (note: the link will expire on the 17/1/2019)
The problem is that when i download files from my FTP server, it works perfectly - except when running it on an Azure Virtual Machine, where it gives an error after about 2 GB (specifically after 1.970.104.320 bytes)
The exception is: "The underlying connection was closed: An unexpected error occurred on a receive."
... although my guess is that the problem is memory related.
The program is compiled as 64 bit by the way :)
Best regards
Martin
Perhaps the following is of assistance
这篇关于仅在Azure VM上下载大于2GB的文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!