本文介绍了如何在Windows XP中复制大文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Windows XP中的大文件 - 它的38GB。 (一个VM映像)
我似乎无法复制它。
在桌面上拖动 -
使用Java - FileChannel.transferTo(0,fileSize,dest)对于所有文件> 2GB都是失败
使用Java - FileChannel.transferTo()在大小为100Mb后会失败〜18Gb
java.io.IOException:没有足够的系统资源来完成请求的服务
在sun.nio.ch.FileDispatcher.write0(本地方法)
在sun.nio.ch.FileDispatcher.write(FileDispatcher。 java:44)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)
at sun.nio.ch.IOUtil.write(IOUtil.java:28)
在sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:198)
at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:439)
at sun.nio.ch.FileChannelImpl .transferTo(FileChannelImpl.java:510)
我的意思是 - th e电脑有3GB的RAM。一个100GB的缓冲区应该足够了!?!?
显然,DOS命令copy和xcopy也失败了。
(编辑)我试过了COPY& XCOPY - 这些错误会导致相同的错误。 XCOPY似乎也花了很长时间。
我听说过Robocopy,但它不会复制单个文件?
我真的感觉Windows现在是失败的。当然微软听说大于几GB的文件?
谢谢!
解决方案
Windows中的所有打包工具都不会复制文件。拖放,复制,XCOPY,Java - 都不能复制文件。
我想复制文件的原因是在升级操作系统之前进行备份。
最后,我启动了knoppix并复制它。
I have a large file in windows XP - its 38GB. (a VM image)
I cannot seem to copy it.
Dragging on the desktop - gives error of "Insufficient system resources exist to complete the requested service"
Using Java - FileChannel.transferTo(0, fileSize, dest) fails for all files > 2GB
Using Java - FileChannel.transferTo() in chunks of 100Mb fails after ~18Gb
java.io.IOException: Insufficient system resources exist to complete the requested service
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:44)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)
at sun.nio.ch.IOUtil.write(IOUtil.java:28)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:198)
at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:439)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:510)
I mean - the computer has 3GB of RAM. A 100GB buffer should be enough!?!?
Apparently the DOS commands "copy" and "xcopy" also fail.
(edit) I've tried COPY & XCOPY - these fail with the same error. XCOPY seems to take a really really long time about it too.
I've heard of Robocopy, but it doesn't copy single files?
I'm really feeling that Windows is for the lose right now. Surely microsoft have heard of files larger than a few GB?
Thanks!
解决方案
Well - I've not managed to find a way that works.
None of the packaged tools in windows will copy the file. Drag and drop, COPY, XCOPY, java - all fail to copy the file.
The reason I wanted to copy the file was for a backup before doing an OS upgrade.
In the end i booted into knoppix and copied it.
这篇关于如何在Windows XP中复制大文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!