Skip to content
Advertisement

Tag: runtime.exec

linux ulimit with java does not work properly

I run code on linux ubuntu 17.10 this code returns “unlimited” but whenever I run command from terminal I get 1024. Why those numbers are different? Answer You get the same result if you run the same command from the command line: This is because -c only looks at the argument immediately following it, which is ulimit. The -n is

Advertisement