Dump file generation method and dump file generation device

In the case where a child process obtained by replicating a parent process of a Java virtual machine generates dump information, an approximately double virtual memory amount is required as compared to when the parent process is operated alone, and the approximately double virtual memory amount is necessary. If the necessary virtual memory amount exceeds a physical memory amount actually provided to a computer, a phenomenon called thrashing occurs, with the result that it takes a lot of time to access the memory, and Java program execution speed becomes lower. In the case where a child process obtained by replicating a parent process of a Java virtual machine performs dump, the sum of the virtual memory amounts of both the processes exceeds a physical memory amount, and the generation of garbage collection may occur in the parent process, a memory dump generation in the child process is terminated or temporarily stopped. When the memory dump generation is temporarily stopped, after the garbage collection in the parent process is terminated, the memory dump in the child process is restarted.