Hi, i would like to copy big big file (10G or 20G) with vfs. So i use:
FileObject file = flowRepository.resolveFile("src.txt"); InputStream is = file.getContent().getInputStream(); FileObject flow = flowRepository.resolveFile("cible.txt"); OutputStream out = flow.getContent().getOutputStream(); IOUtils.copy(is, out); out.close(); is.close(); file.close(); flow.close(); but i've got an OutOfMemoryError with IOUtils.copy. Help please! zizou -- View this message in context: http://www.nabble.com/OutOfMemoryError-with-VFS-tf2369948.html#a6602245 Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]