IOException « nio « Java I/O Q&A





1. Java NIO: What does IOException: Broken pipe mean?    stackoverflow.com

For some of my Java NIO connections, when I have a SocketChannel.write(ByteBuffer) call, it throws an IOException: "Broken pipe". What causes a "broken pipe", and more importantly, is it possible to recover ...

2. java.io.IOException: Not enough space at sun.nio.ch.FileChannelImpl.map0(Na    forums.oracle.com

Hi I am getting this error java.io.IOException: Not enough space at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:728) I ahve a shell script which spawn three jvms Two jvms have XMX=12288M and the third XMX=10240M Basically each jvm has around 12 threads to read in xml files and process them. The HP machine has around 70 GB RAM. So, in total the java uses ...