Name: dbT83986 Date: 04/06/99 When creating subprocesses with java.lang.Process, the native code uses fork(), which is the most inefficient version of fork available. In this case, we're always forking for the sole purpose of execing a child process, so vfork() would be a better alternative. The problem occurs when you run the JDK with a large memory size, becuase the OS requires that there is enough swap space for another copy of the JDK, even though it's not going to use it at all (since it's just going to do an exec). (Review ID: 56597) ======================================================================
|