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 JIRA by max putilov, 1 year ago
Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory
via JIRA by max putilov, 2 years ago
Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory
via grokbase.com by Unknown author, 2 years ago
Cannot run program "hive-0.9-test/workspace/testutils/hadoop" (in directory "hive-0.9-test/workspace/service"): java.io.IOException: error=13, Permission denied
via https://bugzilla.redhat.com/bugzilla/ by Pavol Srna, 2 years ago
Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
via Google Groups by Albin Carpentier, 2 years ago
Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
via GitHub by Hdadaw
, 1 month ago
Cannot run program "py": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) at java.lang.Runtime.exec(Runtime.java:610) at java.lang.Runtime.exec(Runtime.java:483) at jline.UnixTerminal.exec(UnixTerminal.java:292) at jline.UnixTerminal.stty(UnixTerminal.java:268) at jline.UnixTerminal.initializeTerminal(UnixTerminal.java:71) at jline.Terminal.setupTerminal(Terminal.java:75) at jline.Terminal.getTerminal(Terminal.java:26) at sbt.ConsoleLogger$.ansiSupported(ConsoleLogger.scala:39) at sbt.ConsoleLogger$.<init>(ConsoleLogger.scala:34) at sbt.ConsoleLogger$.<clinit>(ConsoleLogger.scala) at sbt.GlobalLogging$.initial(GlobalLogging.scala:24) at sbt.StandardMain$.initialGlobalLogging(Main.scala:57) at sbt.StandardMain$.initialState(Main.scala:54) at sbt.xMain.run(Main.scala:26) at xsbt.boot.Launch$.run(Launch.scala:55) at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45) at xsbt.boot.Launch$.launch(Launch.scala:69) at xsbt.boot.Launch$.apply(Launch.scala:16) at xsbt.boot.Boot$.runImpl(Boot.scala:31) at xsbt.boot.Boot$.main(Boot.scala:20) at xsbt.boot.Boot.main(Boot.scala)Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) at java.lang.ProcessImpl.start(ProcessImpl.java:81) at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) ... 21 more