java.io.IOException

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

Samebug tips2

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

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

Solutions on the web13584

  • via linuxquestions.org by Unknown author, 1 year ago
    Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory
  • via linuxquestions.org by Unknown author, 1 year ago
    Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory
  • via JIRA by max putilov, 1 year ago
    Cannot run program "sh": java.io.IOException: error=12, Cannot allocate memory
  • Stack trace

    • 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

    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

    Once, 1 week ago
    3 times, 7 months ago
    Once, 7 months ago
    6 times, 8 months ago
    5 times, 9 months ago
    84 more bugmates