This is the solution but you have to set:
echo 1 > /proc/sys/vm/overcommit_memory
More Related Contents:
- How do I run a batch file from my Java Application?
- How to make pipes work with Runtime.exec()?
- Running Command Line in Java [duplicate]
- Difference between ProcessBuilder and Runtime.exec()
- process.waitFor() never returns
- How to execute command with parameters?
- Execute external program
- Runtime’s exec() method is not redirecting the output
- How to run Linux commands in Java?
- Why does Runtime.exec(String) work for some but not all commands?
- read the output from java exec
- how to compile & run java program in another java program?
- Printing Runtime exec() OutputStream to console
- How to use “cd” command using Java runtime?
- Running a java program from another java program
- How to Execute Windows Commands Using Java – Change Network Settings
- Redirection with Runtime.getRuntime().exec() doesn’t work
- Redirect Runtime.getRuntime().exec() output with System.setOut();
- Reading streams from java Runtime.exec
- Running Bash commands in Java
- Start CMD by using ProcessBuilder
- Java Runtime.getRuntime().exec() alternatives
- java Runtime.getRunTime().exec & wildcards?
- Runtime.getRuntime().exec()
- Use Java FFmpeg wrapper, or simply use Java runtime to execute FFmpeg?
- Using Quotes within getRuntime().exec
- Having spaces in Runtime.getRuntime().exec with 2 executables
- Runtime.getRuntime().exec(cmd) hanging
- is there an algorithm to reverse a chosen part of a number? [closed]
- What is a classpath and how do I set it?