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.

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via GitHub by irskep
, 1 year ago
Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
via Stack Overflow by NerdyNick
, 2 years ago
Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
via nabble.com by Unknown author, 2 years ago
Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
via Google Groups by Rohini U, 2 years ago
Cannot run program "bash": java.io.IOException: *Error: * *error*=12, Cannot allocate memory
via nutch-user by yann, 1 year ago
Cannot run program "bash": error=24, Too many open files
via nutch-user by yann, 1 year ago
Cannot run program "bash": error=24, Too many open files
java.io.IOException: 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.fs.DF.getAvailable(DF.java:73)
at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:296)
at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:648)
at org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1320)
at org.apache.hadoop.mapred.TaskTracker.offerService(TaskTracker.java:956)
at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1357)

Users with the same issue

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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year 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.