Under Unix/Linux, that means that as the memory is write-accessed, the kernel has to perform a copy-on-write of the underlaying pages.
As a workaround, try calling _exit or exec "/bin/true"; at the end of the END blocks.
In reply to Re: Memory consumption of forks on exit
by salva
in thread Memory consumption of forks on exit
by egga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |