仅在Azure VM上下载大于2GB的文件时出错 [英] Error downloading files larger than 2GB only on Azure VMs

查看:76
本文介绍了仅在Azure VM上下载大于2GB的文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨Microsoft


我在下载大于2GB的文件时遇到问题 - 但仅限于Azure虚拟机。


你可以找到我的代码在这里:https://pastebin.com/RYRRQdSB(注意:链接将在17/1/2019到期)


问题是当我从我的FTP服务器,它工作得很好 - 除了在Azure虚拟机上运行它,它在大约2 GB(特别是在1.970.104.320字节之后)发出错误


例外是: "底层连接已关闭:接收时发生意外错误。"


...虽然我的猜测是问题与内存有关。


程序编译为64位:)



祝你好运


Martin

解决方案

也许以下是有帮助的


https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-blob-service-operations


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

https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-blob-service-operations


这篇关于仅在Azure VM上下载大于2GB的文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆