java.io.IOException: Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory

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

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

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, 1 year ago
Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified
via incubator-blur-user by Aaron McCurry, 1 year ago
Cannot run program "chmod": CreateProcess error=2, ???????? ?
via incubator-blur-user by Gagan Juneja, 1 year ago
Cannot run program "chmod": CreateProcess error=2, ???????? ?
via incubator-blur-user by Li Li, 1 year ago
Cannot run program "chmod": CreateProcess error=2, ???????? ?
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.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
at org.apache.hadoop.util.Shell.run(Shell.java:134)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.