开发者

Why Rebol Copy Big File fails with really big files whereas windows explorer doesn't?

开发者 https://www.devze.com 2022-12-09 19:55 出处:网络
I tried carl function http://www.rebol.com/article/0281.html with 155 Mo it works. Then I tested with 7 Go it fails without saying the limit.

I tried carl function http://www.rebol.com/article/0281.html

with 155 Mo it works.

Then I tested with 7 Go it fails without saying the limit.

Why is there a limit I can't see anything 开发者_开发问答in code that puts a limit.

There's no error message

>> copy-file to-rebol-file "D:\@mirror_ftp\cpmove.tar" to-rebol-file "D:\@mirror_ftp\testcopy.tar"
0:00
== none
>>


REBOL uses 32-bit signed integers, so it can't read files bigger than 2147483647 bytes (2^31-1) which is roughly 2GB. REBOL3 uses 64-bit integers, so won't have such limitation.

0

精彩评论

暂无评论...
验证码 换一张
取 消