Stephan Ewen created FLINK-1498:
-----------------------------------
Summary: Spurious failures on Travis for I/O heavy tasks
Key: FLINK-1498
URL:
https://issues.apache.org/jira/browse/FLINK-1498 Project: Flink
Issue Type: Bug
Components: Build System
Affects Versions: 0.9
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Priority: Minor
Fix For: 0.9
The symptom is missing memory in the Java NIO classes
{code}
Caused by: java.io.IOException: Cannot allocate memory
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:210)
at org.apache.flink.runtime.io.disk.iomanager.SegmentWriteRequest.write(AsynchronousFileIOChannel.java:267)
at org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync$WriterThread.run(IOManagerAsync.java:440)
{code}
From a quick check, it seems you can fix this by increasing the minimal JVM memory. I will try to add {{-Xms256}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)