Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ekulakow
, 1 year ago
Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
via wordpress.com by Unknown author, 2 years ago
Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by Xuanzi Han
, 2 years ago
Cannot run program "du": CreateProcess error=2, The system cannot find the file specified.
java.io.IOException: Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at org.apache.hadoop.util.Shell.runCommand(Shell.java:149) at org.apache.hadoop.util.Shell.run(Shell.java:134) at org.apache.hadoop.fs.DF.getCapacity(DF.java:63) at org.apache.hadoop.dfs.FSDataset$FSVolume.getCapacity(FSDataset.java:334) at org.apache.hadoop.dfs.FSDataset$FSVolumeSet.getCapacity(FSDataset.java:495) at org.apache.hadoop.dfs.FSDataset.getCapacity(FSDataset.java:692) at org.apache.hadoop.dfs.DataNode.offerService(DataNode.java:691) at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2970) at java.lang.Thread.run(Thread.java:662)Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 9 more