java.io.IOException: Cannot run program "du": 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 "du": java.io.IOException: error=12, Cannot allocate memory
via Stack Overflow by Xuanzi Han
, 2 years ago
Cannot run program "du": 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 Li Li, 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 Stack Overflow by Bakir Jusufbegovic
, 2 years ago
Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "du": 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.DU.access$200(DU.java:29)
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
126 more bugmates

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