java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac": java.io.IOException: error=12, Cannot allocate memory

  1. 0

    javac compiler throwing error in CentOS 5.7

    Server Fault | 5 years ago | Julio Menendez
    java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac": java.io.IOException: error=12, Cannot allocate memory
  2. 0

    Cannot run program "/usr/local/cuda/bin/nvcc"[..]Cannot allocate memory

    GitHub | 3 years ago | ender7
    java.io.IOException: Cannot run program "/usr/local/cuda/bin/nvcc" (in directory "."): java.io.IOException: error=12, Cannot allocate memory
  3. 0

    How to solve "java.io.IOException: error=12, Cannot allocate memory" calling Runtime#exec()?

    Stack Overflow | 7 years ago | Andrea Francia
    java.io.IOException: Cannot run program "ls": java.io.IOException: error=12, Cannot allocate memory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exec hadoop from Java, reuse JVM (client-side)?

    Google Groups | 4 years ago | Keith Wiley
    java.io.IOException: Cannot run program "hadoop": java.io.IOException: error=12, Cannot allocate memory
  6. 0

    How to solve “java.io.IOException: error=12, Cannot allocate memory” calling Runtime#exec()?

    wenda.io | 1 year ago
    java.io.IOException: Cannot run program "ls": java.io.IOException: error=12, Cannot allocate memory

  1. Handemelindo 6 times, last 1 month ago
  2. kid 5 times, last 1 month ago
  3. rp 2 times, last 2 months ago
  4. jk 1 times, last 5 months ago
  5. Akshay 5 times, last 5 months ago
2 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    java.io.IOException: error=12, Cannot allocate memory

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:81)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
    5. java.lang.Runtime.exec(Runtime.java:610)
    5 frames
  3. Ant
    DefaultCompilerAdapter.executeExternalCompile
    1. org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
    2. org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
    3. org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
    4. org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:522)
    4 frames