java.io.IOException

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

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13572

  • via GitHub by ekulakow
    , 1 year ago
    Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
  • via GitHub by irskep
    , 1 year ago
    Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
  • Cannot run program "bash": java.io.IOException: >> error=12, Cannot allocate memory
  • Stack trace

    • 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.getAvailable(DF.java:73) at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:296) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:124) 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) at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2361) 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) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    8 times, 1 month ago
    5 times, 1 month ago
    3 times, 1 month ago
    125 more bugmates