title: POSIX_SPAWN with Java?
body: <p>ProcessBuilder.start and Runtime.exec seem to use fork() on *NIX system, which seems to allocate the child process the same amount of memory as the parent process (see e.g. 
  <a href="https://stackoverflow.com/questions/1124771/how-to-solve-java-io-ioexception-error12-cannot-allocate-memory-calling-runt"> this question </a>). This can be painful if you want to launch a process which needs almost no memory from a process that uses lots of memory.</p>
  
  <p>Is there any way to launch processes using POSIX_SPAWN -- which doesn't do this memory allocation? The only way I know of is using <a href="http://wrapper.tanukisoftware.org/doc/english/child-exec.html;jsessionid=16ing9est2pfh" rel="nofollow noreferrer">Tanuki</a>, but turns out to be not ideal for me.</p>